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-03-20 18:48:14 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2019-03-20 18:48:35 +0300
commit2f4bd632396c215d6398a0b4e16d03f2fd00b17f (patch)
treeb50147c758edae419f22b870438fdae24269f48f /source/blender/depsgraph
parent980b61a22c6c5b55b2a1a013a3fa6fc88fe7ec84 (diff)
Fix T56778: Alembic Override Frame does not update on playback
Diffstat (limited to 'source/blender/depsgraph')
-rw-r--r--source/blender/depsgraph/intern/builder/deg_builder_relations.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/depsgraph/intern/builder/deg_builder_relations.cc b/source/blender/depsgraph/intern/builder/deg_builder_relations.cc
index d4bd63f200b..38f54c70874 100644
--- a/source/blender/depsgraph/intern/builder/deg_builder_relations.cc
+++ b/source/blender/depsgraph/intern/builder/deg_builder_relations.cc
@@ -2501,6 +2501,12 @@ void DepsgraphRelationBuilder::build_cachefile(CacheFile *cache_file)
}
/* Animation. */
build_animdata(&cache_file->id);
+ if (check_id_has_anim_component(&cache_file->id)) {
+ ComponentKey animation_key(&cache_file->id, NodeType::ANIMATION);
+ ComponentKey datablock_key(&cache_file->id,
+ NodeType::CACHE);
+ add_relation(animation_key, datablock_key, "Datablock Animation");
+ }
}
void DepsgraphRelationBuilder::build_mask(Mask *mask)