Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Oeser <info@graphics-engineer.com>2018-11-27 12:00:20 +0300
committerPhilipp Oeser <info@graphics-engineer.com>2018-11-27 13:09:56 +0300
commit39dcf6a10a53c49d3c1339755181dfce233f7b3d (patch)
treeacc02a39b23126096d927672118dc5de6ce5ee58 /source/blender/editors/screen/area.c
parent00d438639dab0370987c330296a3cbc0f4e388de (diff)
make node editor tool region background transparent
followup to rB1944bca49a22c18b059d84daf56908b6e15591ad Differential Revision: https://developer.blender.org/D3999
Diffstat (limited to 'source/blender/editors/screen/area.c')
-rw-r--r--source/blender/editors/screen/area.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/screen/area.c b/source/blender/editors/screen/area.c
index 0a69a53e6fa..f8537f35759 100644
--- a/source/blender/editors/screen/area.c
+++ b/source/blender/editors/screen/area.c
@@ -1107,6 +1107,9 @@ bool ED_region_is_overlap(int spacetype, int regiontype)
return 1;
}
if (U.uiflag2 & USER_REGION_OVERLAP) {
+ if (spacetype == SPACE_NODE && regiontype == RGN_TYPE_TOOLS) {
+ 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;