[Bf-blender-cvs] [f1f33606968] blender2.8: Fix T56472: maximizing editors does not preserve top/status bar hiding.
Brecht Van Lommel
noreply at git.blender.org
Tue Aug 21 18:41:08 CEST 2018
Commit: f1f33606968eea1688b95631ad4183ce1803cb66
Author: Brecht Van Lommel
Date: Tue Aug 21 16:29:50 2018 +0200
Branches: blender2.8
https://developer.blender.org/rBf1f33606968eea1688b95631ad4183ce1803cb66
Fix T56472: maximizing editors does not preserve top/status bar hiding.
===================================================================
M source/blender/editors/screen/screen_edit.c
===================================================================
diff --git a/source/blender/editors/screen/screen_edit.c b/source/blender/editors/screen/screen_edit.c
index 786a34db621..240336c0302 100644
--- a/source/blender/editors/screen/screen_edit.c
+++ b/source/blender/editors/screen/screen_edit.c
@@ -1156,6 +1156,7 @@ ScrArea *ED_screen_state_toggle(bContext *C, wmWindow *win, ScrArea *sa, const s
oldscreen = WM_window_get_active_screen(win); /* the one disappearing */
sc->state = SCREENNORMAL;
+ sc->flag = oldscreen->flag;
/* find old area to restore from */
ScrArea *fullsa = NULL;
@@ -1223,6 +1224,7 @@ ScrArea *ED_screen_state_toggle(bContext *C, wmWindow *win, ScrArea *sa, const s
sc->state = state;
sc->redraws_flag = oldscreen->redraws_flag;
sc->temp = oldscreen->temp;
+ sc->flag = oldscreen->flag;
/* timer */
sc->animtimer = oldscreen->animtimer;
More information about the Bf-blender-cvs
mailing list