Fix crash when saving render from temporarily maximized render window
Steps to reproduce were:
* Start with factory defaults
* Set "Render in" to "Maximized Area"
* Render
* Open "Save as"
* Click Cancel
Mistake in 78d2ce19c4
. Was using the wrong area pointer, which I think
didn't make a difference in most cases, but here it did.
This commit is contained in:
parent
7916c59304
commit
e56fe47748
|
@ -2263,7 +2263,7 @@ static int wm_handler_fileselect_do(bContext *C,
|
|||
continue;
|
||||
}
|
||||
|
||||
if (ctx_area->full) {
|
||||
if (file_area->full) {
|
||||
/* Users should not be able to maximize/fullscreen an area in a temporary screen. So if
|
||||
* there's a maximized file browser in a temporary screen, it was likely opened by
|
||||
* #EVT_FILESELECT_FULL_OPEN. */
|
||||
|
|
Loading…
Reference in New Issue