Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2018-09-03 15:35:42 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2018-09-03 16:20:06 +0300
commitd57cb8fa22eb757e0960cb1336f00e495519a939 (patch)
tree0b8c3267b56524233f36c766a80a3d17c5523d4d /source/blender/depsgraph/intern/depsgraph_debug.cc
parente152483a320d2da88199697da02ddb2befc73778 (diff)
Depsgraph: Use more meaningful name for flags storage
Diffstat (limited to 'source/blender/depsgraph/intern/depsgraph_debug.cc')
-rw-r--r--source/blender/depsgraph/intern/depsgraph_debug.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/depsgraph/intern/depsgraph_debug.cc b/source/blender/depsgraph/intern/depsgraph_debug.cc
index f7adaafe5b3..91db054b006 100644
--- a/source/blender/depsgraph/intern/depsgraph_debug.cc
+++ b/source/blender/depsgraph/intern/depsgraph_debug.cc
@@ -171,11 +171,11 @@ bool DEG_debug_consistency_check(Depsgraph *graph)
/* Validate node valency calculated in both directions. */
foreach (DEG::OperationDepsNode *node, deg_graph->operations) {
node->num_links_pending = 0;
- node->done = 0;
+ node->custom_flags = 0;
}
foreach (DEG::OperationDepsNode *node, deg_graph->operations) {
- if (node->done) {
+ if (node->custom_flags) {
printf("Node %s is twice in the operations!\n",
node->identifier().c_str());
return false;
@@ -187,7 +187,7 @@ bool DEG_debug_consistency_check(Depsgraph *graph)
++to->num_links_pending;
}
}
- node->done = 1;
+ node->custom_flags = 1;
}
foreach (DEG::OperationDepsNode *node, deg_graph->operations) {