diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-06-13 10:27:40 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-06-13 10:27:40 +0300 |
commit | 813a538a57b2f3567e1adf03473fe4cccbbb4513 (patch) | |
tree | 198d0f9653af0c41d4710a2b74896228b5d14d84 | |
parent | 0ab8f9c74a9df9979e02379a6447545d04af154a (diff) |
UI: show HUD when region overlap is disabled
-rw-r--r-- | source/blender/editors/screen/area.c | 6 |
1 files changed, 3 insertions, 3 deletions
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; |