diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-06-26 11:50:11 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-06-26 11:51:17 +0300 |
commit | 005f90a4347258445c6cf81e9258af29a51fc46f (patch) | |
tree | a93814785896f6c06d82677d0c268f90f0cec6e7 /source/blender/depsgraph | |
parent | a55aa1a2ca6ef01965bed690f9c5c73f16fd3390 (diff) |
Fix T66132: Unable to move bone in special configuration
Animation needs to wait for the sub-data datablock copy-on-write,
but tagging that copy-on-write should not enforce animation evaluation.
Diffstat (limited to 'source/blender/depsgraph')
-rw-r--r-- | source/blender/depsgraph/intern/builder/deg_builder_relations.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/depsgraph/intern/builder/deg_builder_relations.cc b/source/blender/depsgraph/intern/builder/deg_builder_relations.cc index 4079ab5b66d..c8ef50fa18e 100644 --- a/source/blender/depsgraph/intern/builder/deg_builder_relations.cc +++ b/source/blender/depsgraph/intern/builder/deg_builder_relations.cc @@ -1199,7 +1199,10 @@ void DepsgraphRelationBuilder::build_animdata_curves_targets(ID *id, const IDNode *id_node_to = operation_to->owner->owner; if (id_node_from != id_node_to) { ComponentKey cow_key(id_node_to->id_orig, NodeType::COPY_ON_WRITE); - add_relation(cow_key, adt_key, "Animated CoW -> Animation", RELATION_CHECK_BEFORE_ADD); + add_relation(cow_key, + adt_key, + "Animated CoW -> Animation", + RELATION_CHECK_BEFORE_ADD | RELATION_FLAG_NO_FLUSH); } } } |