Commit: 2f4bd632396c215d6398a0b4e16d03f2fd00b17f
Author: Sergey Sharybin
Date: Wed Mar 20 16:48:14 2019 +0100
Branches: master
https://developer.blender.org/rB2f4bd632396c215d6398a0b4e16d03f2fd00b17f
Fix T56778: Alembic Override Frame does not update on playback
===================================================================
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 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)
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs