diff options
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/animation/keyframing.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/source/blender/editors/animation/keyframing.c b/source/blender/editors/animation/keyframing.c index f25b9b5f094..f453c306cc7 100644 --- a/source/blender/editors/animation/keyframing.c +++ b/source/blender/editors/animation/keyframing.c @@ -157,10 +157,14 @@ bAction *verify_adt_action(Main *bmain, ID *id, short add) */ adt->action->idroot = GS(id->name); - /* tag depsgraph to be rebuilt to include time dependency */ - DEG_relations_tag_update(bmain); } + /* Tag depsgraph to be rebuilt to include time dependency. + * + * NOTE: Do it for all animation data modification, since existing animation + * data might not include relations to the newly animated components. + */ + DEG_relations_tag_update(bmain); DEG_id_tag_update(&adt->action->id, DEG_TAG_COPY_ON_WRITE); /* return the action */ |