From 4045730d58da2f1a763bd94b1967fd7bd3f26f5b Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Mon, 28 May 2018 16:45:28 +0200 Subject: [PATCH] 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. --- source/blender/editors/animation/anim_deps.c | 3 +++ 1 file changed, 3 insertions(+) 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 */