[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [53327] trunk/blender/source/blender/ editors/screen/area.c: Node editor: remove option to show overlapping Property region.

Ton Roosendaal ton at blender.org
Wed Dec 26 14:25:15 CET 2012


Revision: 53327
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=53327
Author:   ton
Date:     2012-12-26 13:25:13 +0000 (Wed, 26 Dec 2012)
Log Message:
-----------
Node editor: remove option to show overlapping Property region.

- The main window has sliders, which was drawn behind the region
- If property region had slider too, it got even worse.

Basically the node editor is UI view, so drawing another UI on top isn't
functioning well in general.

Modified Paths:
--------------
    trunk/blender/source/blender/editors/screen/area.c

Modified: trunk/blender/source/blender/editors/screen/area.c
===================================================================
--- trunk/blender/source/blender/editors/screen/area.c	2012-12-26 13:05:39 UTC (rev 53326)
+++ trunk/blender/source/blender/editors/screen/area.c	2012-12-26 13:25:13 UTC (rev 53327)
@@ -917,7 +917,7 @@
 {
 	if (U.uiflag2 & USER_REGION_OVERLAP)
 		if (WM_is_draw_triple(win))
-			if (ELEM5(sa->spacetype, SPACE_VIEW3D, SPACE_IMAGE, SPACE_SEQ, SPACE_CLIP, SPACE_NODE))
+			if (ELEM4(sa->spacetype, SPACE_VIEW3D, SPACE_IMAGE, SPACE_SEQ, SPACE_CLIP))
 				if (ELEM3(ar->regiontype, RGN_TYPE_TOOLS, RGN_TYPE_UI, RGN_TYPE_TOOL_PROPS))
 					return 1;
 	return 0;




More information about the Bf-blender-cvs mailing list