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-11-21 18:12:42 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2018-11-21 18:21:24 +0300
commit2a354dd4bde05614f5cd67235edd0463d22d26c4 (patch)
tree59379d0209d7679b982d9c623c690c397d9bdbf3 /source/blender/depsgraph
parent693233b1984819a6799ef605e5b3cd3638be25d2 (diff)
Depsgraph: Allow flush of CoW tag from Action
This way we guarantee that action tagged for CoW will ensure order of updates with objects which are using it. Fixes T57870: Scaling keyframes in Graph Editor causes crash Fixes T57971: Moving keys in the Dopesheet crashes with Segfault 11 Fixes T57530: Moving keys on a rig, Crash Fixee T57491: Crash when trying to move keyframe in dope sheet
Diffstat (limited to 'source/blender/depsgraph')
-rw-r--r--source/blender/depsgraph/intern/builder/deg_builder_relations.cc3
1 files changed, 2 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 3353d42824d..690c4842cc4 100644
--- a/source/blender/depsgraph/intern/builder/deg_builder_relations.cc
+++ b/source/blender/depsgraph/intern/builder/deg_builder_relations.cc
@@ -2427,7 +2427,8 @@ void DepsgraphRelationBuilder::build_copy_on_write_relations(IDDepsNode *id_node
* that cached array fo bases exists and is up-to-date.
*/
if (comp_node->type == DEG_NODE_TYPE_PARAMETERS ||
- comp_node->type == DEG_NODE_TYPE_LAYER_COLLECTIONS)
+ comp_node->type == DEG_NODE_TYPE_LAYER_COLLECTIONS ||
+ (comp_node->type == DEG_NODE_TYPE_ANIMATION && id_type == ID_AC))
{
rel_flag &= ~DEPSREL_FLAG_NO_FLUSH;
}