Fix T56778: Alembic Override Frame does not update on playback

This commit is contained in:
Sergey Sharybin 2019-03-20 16:48:14 +01:00
parent 980b61a22c
commit 2f4bd63239
Notes: blender-bot 2023-02-14 11:18:07 +01:00
Referenced by issue #56778, Alembic Override Frame does not update on playback.
1 changed files with 6 additions and 0 deletions

View File

@ -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)