diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2014-09-16 16:28:44 +0400 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2014-09-16 16:28:44 +0400 |
commit | 045b26dbf5ab239eb893884164f4eda3e0f23038 (patch) | |
tree | f656b086c3aa728e14963478d1414c97e13328c2 /source | |
parent | 1e948b251d63cb9141ff71d24fbcf343d38c7da4 (diff) |
Fix T41843: World preview not updating when changing world.
NC_SCENE | ND_WORLD was not handled by buttons space...
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/space_buttons/space_buttons.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/editors/space_buttons/space_buttons.c b/source/blender/editors/space_buttons/space_buttons.c index 8c6bf67c9a8..4d62f528915 100644 --- a/source/blender/editors/space_buttons/space_buttons.c +++ b/source/blender/editors/space_buttons/space_buttons.c @@ -233,6 +233,10 @@ static void buttons_area_listener(bScreen *UNUSED(sc), ScrArea *sa, wmNotifier * buttons_area_redraw(sa, BCONTEXT_RENDER); buttons_area_redraw(sa, BCONTEXT_RENDER_LAYER); break; + case ND_WORLD: + buttons_area_redraw(sa, BCONTEXT_WORLD); + sbuts->preview = 1; + break; case ND_FRAME: /* any buttons area can have animated properties so redraw all */ ED_area_tag_redraw(sa); |