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
Notes:
blender-bot
2023-02-14 11:21:43 +01:00
Referenced by issue #41843, World refresh bug
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue