[Bf-blender-cvs] [813a538a57b] blender2.8: UI: show HUD when region overlap is disabled
Campbell Barton
noreply at git.blender.org
Wed Jun 13 09:27:55 CEST 2018
Commit: 813a538a57b2f3567e1adf03473fe4cccbbb4513
Author: Campbell Barton
Date: Wed Jun 13 09:27:40 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB813a538a57b2f3567e1adf03473fe4cccbbb4513
UI: show HUD when region overlap is disabled
===================================================================
M source/blender/editors/screen/area.c
===================================================================
diff --git a/source/blender/editors/screen/area.c b/source/blender/editors/screen/area.c
index 6f6e5f2bc9c..6320ebb0253 100644
--- a/source/blender/editors/screen/area.c
+++ b/source/blender/editors/screen/area.c
@@ -1014,10 +1014,10 @@ static void region_overlap_fix(ScrArea *sa, ARegion *ar)
/* overlapping regions only in the following restricted cases */
bool ED_region_is_overlap(int spacetype, int regiontype)
{
+ if (regiontype == RGN_TYPE_HUD) {
+ return 1;
+ }
if (U.uiflag2 & USER_REGION_OVERLAP) {
- if (regiontype == RGN_TYPE_HUD) {
- return 1;
- }
if (ELEM(spacetype, SPACE_VIEW3D, SPACE_SEQ, SPACE_IMAGE)) {
if (ELEM(regiontype, RGN_TYPE_TOOLS, RGN_TYPE_UI, RGN_TYPE_TOOL_PROPS))
return 1;
More information about the Bf-blender-cvs
mailing list