[Bf-blender-cvs] [334d823] master: Depsgraph: Fix missing updates when modifying armature
Sergey Sharybin
noreply at git.blender.org
Wed Jun 1 10:10:38 CEST 2016
Commit: 334d823b2bd3e02ee44015452ec1ab375ef86b03
Author: Sergey Sharybin
Date: Wed Jun 1 10:10:39 2016 +0200
Branches: master
https://developer.blender.org/rB334d823b2bd3e02ee44015452ec1ab375ef86b03
Depsgraph: Fix missing updates when modifying armature
===================================================================
M source/blender/depsgraph/intern/nodes/deg_node_component.cc
===================================================================
diff --git a/source/blender/depsgraph/intern/nodes/deg_node_component.cc b/source/blender/depsgraph/intern/nodes/deg_node_component.cc
index c529e2e..7e49fec 100644
--- a/source/blender/depsgraph/intern/nodes/deg_node_component.cc
+++ b/source/blender/depsgraph/intern/nodes/deg_node_component.cc
@@ -230,6 +230,14 @@ void ComponentDepsNode::tag_update(Depsgraph *graph)
foreach (OperationDepsNode *op_node, operations) {
op_node->tag_update(graph);
}
+ // It is possible that tag happens before finalization.
+ if (operations_map != NULL) {
+ GHASH_FOREACH_BEGIN(OperationDepsNode *, op_node, operations_map)
+ {
+ op_node->tag_update(graph);
+ }
+ GHASH_FOREACH_END();
+ }
}
OperationDepsNode *ComponentDepsNode::get_entry_operation()
More information about the Bf-blender-cvs
mailing list