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>2019-06-26 11:50:11 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2019-06-26 11:51:17 +0300
commit005f90a4347258445c6cf81e9258af29a51fc46f (patch)
treea93814785896f6c06d82677d0c268f90f0cec6e7 /source/blender/depsgraph
parenta55aa1a2ca6ef01965bed690f9c5c73f16fd3390 (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.cc5
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);
}
}
}