From 96a3a628613bfd592aea5fcdfbb196bb61dfacb7 Mon Sep 17 00:00:00 2001 From: Joshua Leung Date: Sat, 19 May 2018 20:18:45 +0200 Subject: [PATCH] Hacky Fix: Changing frames by setting Scene.frame_current directly didn't update rigs in 3D viewport Operators did not suffer from this problem as they were still just using notifiers directly. The "proper" fix is to use the new message bus system. But, we've got enough problems dealing with COW already as it is now... moving on. --- source/blender/makesrna/intern/rna_scene.c | 1 + 1 file changed, 1 insertion(+) diff --git a/source/blender/makesrna/intern/rna_scene.c b/source/blender/makesrna/intern/rna_scene.c index 0fb44959515..2e1935f7bf3 100644 --- a/source/blender/makesrna/intern/rna_scene.c +++ b/source/blender/makesrna/intern/rna_scene.c @@ -884,6 +884,7 @@ static void rna_Scene_frame_update(Main *bmain, Scene *UNUSED(current_scene), Po { Scene *scene = (Scene *)ptr->id.data; BKE_sound_seek_scene(bmain, scene); + WM_main_add_notifier(NC_SCENE | ND_FRAME, scene); } static PointerRNA rna_Scene_active_keying_set_get(PointerRNA *ptr)