| 40 | } |
| 41 | |
| 42 | void SceneObject::UpdateMaterialReferences(const Material *oldMat, const Material *newMat) { |
| 43 | if (mat == oldMat) |
| 44 | mat = newMat; |
| 45 | } |
| 46 | |
| 47 | bool SceneObject::UpdateMeshReference(const luxrays::ExtMesh *oldMesh, luxrays::ExtMesh *newMesh) { |
| 48 | if (mesh == oldMesh) { |
no outgoing calls
no test coverage detected