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:
authorCampbell Barton <ideasman42@gmail.com>2010-01-30 05:29:22 +0300
committerCampbell Barton <ideasman42@gmail.com>2010-01-30 05:29:22 +0300
commit11ea90933c3a7b0bcafce63bb025ce13c11d20b5 (patch)
tree215f5c7f596e06ad9d5d5a15ade6a90175138af6 /source/blender/editors/space_outliner
parentada9ca9687cb70d02d1a6afebbb865d2080ddf1b (diff)
[#20881] Minor UI bug in outliner - groups view
Diffstat (limited to 'source/blender/editors/space_outliner')
-rw-r--r--source/blender/editors/space_outliner/outliner.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/editors/space_outliner/outliner.c b/source/blender/editors/space_outliner/outliner.c
index 5048c12c095..3e0604b1f25 100644
--- a/source/blender/editors/space_outliner/outliner.c
+++ b/source/blender/editors/space_outliner/outliner.c
@@ -4356,6 +4356,11 @@ static void outliner_draw_iconrow(bContext *C, uiBlock *block, Scene *scene, Spa
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 */