diff options
author | Joshua Leung <aligorith@gmail.com> | 2018-05-19 21:18:45 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2018-05-19 21:18:45 +0300 |
commit | 96a3a628613bfd592aea5fcdfbb196bb61dfacb7 (patch) | |
tree | a4640f6ea36706bfa18802f290cb4dc66c37c1ce /source/blender/makesrna | |
parent | 0492e56fece3e0c7d7d43a8d06b393bc9f911fa2 (diff) |
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.
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r-- | source/blender/makesrna/intern/rna_scene.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) |