We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e82051 commit 3efb80cCopy full SHA for 3efb80c
src/slg/scene/parsevolumes.cpp
@@ -70,6 +70,7 @@ void Scene::ParseVolumes(const Properties &props) {
70
//const bool wasLightSource = oldMat->IsLightSource();
71
72
auto [newMatRef, oldMatPtr] = matDefs.DefineMaterial(std::move(newMat));
73
+ assert(oldMatRef == *oldMatPtr);
74
75
// Replace old material direct references with new one
76
objDefs.UpdateMaterialReferences(oldMatRef, newMatRef);
0 commit comments