diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-05-28 17:45:28 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-05-28 17:45:28 +0300 |
commit | 4045730d58da2f1a763bd94b1967fd7bd3f26f5b (patch) | |
tree | 6d07f5919a69df2f67471320b24e7880d1faed1a /source/blender/editors/animation | |
parent | e673be1ebc83b1c156eb608935dace95437eccba (diff) |
Fix missing animation curves update when tweaking f-curves
Action is an own datablock, meaning, changes to f-curves needs
to copy those changes to all evaluated versions of action datablock.
Diffstat (limited to 'source/blender/editors/animation')
-rw-r--r-- | source/blender/editors/animation/anim_deps.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/animation/anim_deps.c b/source/blender/editors/animation/anim_deps.c index abdc6450abd..9169df1407b 100644 --- a/source/blender/editors/animation/anim_deps.c +++ b/source/blender/editors/animation/anim_deps.c @@ -79,6 +79,9 @@ void ANIM_list_elem_update(Scene *scene, bAnimListElem *ale) if (adt) { adt->recalc |= ADT_RECALC_ANIM; DEG_id_tag_update(id, OB_RECALC_TIME); + if (adt->action != NULL) { + DEG_id_tag_update(&adt->action->id, DEG_TAG_COPY_ON_WRITE); + } } /* update data */ |