Fix T55387: Render fullscreen from top menu crashes Blender
Would try to use data from global area for the newly created fullscreen area. This should not happen, so instead of a global area use first area from layout.
This commit is contained in:
parent
4df45e18dc
commit
fc85096dc8
Notes:
blender-bot
2023-02-14 05:46:34 +01:00
Referenced by issue #55387, Render animation fullscreen from top menu crashes Blender
|
@ -1503,7 +1503,7 @@ ScrArea *ED_screen_state_toggle(bContext *C, wmWindow *win, ScrArea *sa, const s
|
|||
|
||||
/* use random area when we have no active one, e.g. when the
|
||||
* mouse is outside of the window and we open a file browser */
|
||||
if (!sa) {
|
||||
if (!sa || sa->global) {
|
||||
sa = oldscreen->areabase.first;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue