Use new cgi source.

This commit is contained in:
hal8174 2024-04-23 14:15:44 +02:00
parent 57ae058d9a
commit 20cc279b72
158 changed files with 157 additions and 92879 deletions

View file

@ -60,7 +60,7 @@ namespace embree {
void SceneGraph::TriangleMeshNode::calculateInDegree() {
indegree++;
if (indegree == 1)
if (indegree == 1 && material != 0)
material->calculateInDegree();
}
@ -107,7 +107,7 @@ namespace embree {
void SceneGraph::TriangleMeshNode::resetInDegree() {
closed = false;
if (indegree == 1)
if (indegree == 1 && material != 0)
material->resetInDegree();
indegree--;
}