[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [26411] trunk/blender/source/blender/ editors/space_outliner/outliner.c: [#20881] Minor UI bug in outliner - groups view

Campbell Barton ideasman42 at gmail.com
Sat Jan 30 03:29:33 CET 2010


Revision: 26411
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=26411
Author:   campbellbarton
Date:     2010-01-30 03:29:22 +0100 (Sat, 30 Jan 2010)

Log Message:
-----------
[#20881] Minor UI bug in outliner - groups view

Modified Paths:
--------------
    trunk/blender/source/blender/editors/space_outliner/outliner.c

Modified: trunk/blender/source/blender/editors/space_outliner/outliner.c
===================================================================
--- trunk/blender/source/blender/editors/space_outliner/outliner.c	2010-01-30 01:36:12 UTC (rev 26410)
+++ trunk/blender/source/blender/editors/space_outliner/outliner.c	2010-01-30 02:29:22 UTC (rev 26411)
@@ -4356,6 +4356,11 @@
 	int active;
 
 	for(te= lb->first; te; te= te->next) {
+		
+		/* exit drawing early */
+		if((*offsx) - OL_X > xmax)
+			break;
+
 		tselem= TREESTORE(te);
 		
 		/* object hierarchy always, further constrained on level */





More information about the Bf-blender-cvs mailing list