Depsgraph: Fix typo in previous optimization commit

Was a residue from another experiment, caused infinite loop when
reporting dependency cycles.
This commit is contained in:
Sergey Sharybin 2016-11-15 11:30:21 +01:00
parent a284d04093
commit 445274fc4f
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ void deg_graph_detect_cycles(Depsgraph *graph)
}
while (!traversal_stack.empty()) {
StackEntry entry = traversal_stack.top();
StackEntry& entry = traversal_stack.top();
OperationDepsNode *node = entry.node;
bool all_child_traversed = true;
for (int i = node->done; i < node->outlinks.size(); ++i) {