[Bf-blender-cvs] [005f90a4347] master: Fix T66132: Unable to move bone in special configuration
Sergey Sharybin
noreply at git.blender.org
Wed Jun 26 10:53:23 CEST 2019
Commit: 005f90a4347258445c6cf81e9258af29a51fc46f
Author: Sergey Sharybin
Date: Wed Jun 26 10:50:11 2019 +0200
Branches: master
https://developer.blender.org/rB005f90a4347258445c6cf81e9258af29a51fc46f
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.
===================================================================
M source/blender/depsgraph/intern/builder/deg_builder_relations.cc
===================================================================
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);
}
}
}
More information about the Bf-blender-cvs
mailing list