Blender Git Loki

Git Commits -> Revision 304767d

Revision 304767d by Julian Eisel (master)
August 4, 2020, 18:12 (GMT)
Fix T78688: Crash changing workspace with specific fullscreen setup

When switching workspaces we need to have an unused screen layout that
we can activate. The other window now showed the only available screen
layout in fullscreen though.
Usually when there's no unused screen layout we duplicate an existing
one, but that code didn't respect the fullscreen case properly.

This also tries to clean up the logic a bit, but things are still rather
complicated to follow.

Changes in this code are always risky. Of course things worked fine in
my tests, but I wouldn't be surprised if something breaks.

Commit Details:

Full Hash: 304767dcd3459d222d8c6011e913840df74a6cd5
Parent Commit: 0d3b5a5
Lines Changed: +90, -66

5 Modified Paths:

/source/blender/editors/include/ED_screen.h (+6, -0) (Diff)
/source/blender/editors/screen/screen_edit.c (+14, -35) (Diff)
/source/blender/editors/screen/screen_intern.h (+5, -5) (Diff)
/source/blender/editors/screen/workspace_edit.c (+5, -26) (Diff)
/source/blender/editors/screen/workspace_layout_edit.c (+60, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021