[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [27268] trunk/blender/source/blender/ editors/space_view3d/space_view3d.c: Bugfix #20574: New 3D View regions were all had their 'type' set to 'RGN_TYPE_UI', which meant that the same region contents would get drawn in instances all over , causing quite some confusion.

Joshua Leung aligorith at gmail.com
Fri Mar 5 03:43:41 CET 2010


Revision: 27268
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=27268
Author:   aligorith
Date:     2010-03-05 03:43:40 +0100 (Fri, 05 Mar 2010)

Log Message:
-----------
Bugfix #20574: New 3D View regions were all had their 'type' set to 'RGN_TYPE_UI', which meant that the same region contents would get drawn in instances all over, causing quite some confusion.

Modified Paths:
--------------
    trunk/blender/source/blender/editors/space_view3d/space_view3d.c

Modified: trunk/blender/source/blender/editors/space_view3d/space_view3d.c
===================================================================
--- trunk/blender/source/blender/editors/space_view3d/space_view3d.c	2010-03-05 01:29:56 UTC (rev 27267)
+++ trunk/blender/source/blender/editors/space_view3d/space_view3d.c	2010-03-05 02:43:40 UTC (rev 27268)
@@ -230,7 +230,7 @@
 	ar= MEM_callocN(sizeof(ARegion), "toolshelf for view3d");
 	
 	BLI_addtail(&v3d->regionbase, ar);
-	ar->regiontype= RGN_TYPE_UI;
+	ar->regiontype= RGN_TYPE_TOOLS;
 	ar->alignment= RGN_ALIGN_LEFT;
 	ar->flag = RGN_FLAG_HIDDEN;
 	
@@ -238,7 +238,7 @@
 	ar= MEM_callocN(sizeof(ARegion), "tool properties for view3d");
 	
 	BLI_addtail(&v3d->regionbase, ar);
-	ar->regiontype= RGN_TYPE_UI;
+	ar->regiontype= RGN_TYPE_TOOL_PROPS;
 	ar->alignment= RGN_ALIGN_BOTTOM|RGN_SPLIT_PREV;
 	ar->flag = RGN_FLAG_HIDDEN;
 	





More information about the Bf-blender-cvs mailing list