forked from bartvdbraak/blender
Fix T41843: World preview not updating when changing world.
NC_SCENE | ND_WORLD was not handled by buttons space...
This commit is contained in:
parent
1e948b251d
commit
045b26dbf5
@ -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);
|
||||||
buttons_area_redraw(sa, BCONTEXT_RENDER_LAYER);
|
buttons_area_redraw(sa, BCONTEXT_RENDER_LAYER);
|
||||||
break;
|
break;
|
||||||
|
case ND_WORLD:
|
||||||
|
buttons_area_redraw(sa, BCONTEXT_WORLD);
|
||||||
|
sbuts->preview = 1;
|
||||||
|
break;
|
||||||
case ND_FRAME:
|
case ND_FRAME:
|
||||||
/* any buttons area can have animated properties so redraw all */
|
/* any buttons area can have animated properties so redraw all */
|
||||||
ED_area_tag_redraw(sa);
|
ED_area_tag_redraw(sa);
|
||||||
|
Loading…
Reference in New Issue
Block a user