Blender Git Loki

Git Commits -> Revision 78d2ce1

Revision 78d2ce1 by Julian Eisel (master)
December 23, 2020, 13:34 (GMT)
Fix T84013: Crash closing maximized File Browser opened from Preferences

After 1e799dd26ec1, the logic to recognize a temporary File Browser window
didn't work correctly anymore. It would recognize a maximized File Browser
inside a temporary window as a temporary File Browser window, and attempt to
close this (rather than returning to the previous layout).
The logic there was pretty weak, and still is I think. A more stable solution
would need bigger refactoring.

With this, it's also not possible to maximize or fullscreen an area within a
temporary window (Preferences, File Browser, render window) anymore. Think that
won't make a noticable difference, since you couldn't open multiple areas there
anyway, and the area seems to be maximized already.

Cleaned up the code a bit to not become more confusing with the changes.

Commit Details:

Full Hash: 78d2ce19c4fbb5678995efae74a6128a3dcc4e73
Parent Commit: 9460051
Lines Changed: +45, -31

2 Modified Paths:

/source/blender/editors/screen/screen_ops.c (+6, -1) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+39, -30) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021