Use new cgi source.
This commit is contained in:
parent
57ae058d9a
commit
20cc279b72
158 changed files with 157 additions and 92879 deletions
|
|
@ -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--;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue