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:
authorTon Roosendaal <ton@blender.org>2006-12-06 17:37:52 +0300
committerTon Roosendaal <ton@blender.org>2006-12-06 17:37:52 +0300
commit4a5618a06caf37642aa19dc7850e3f2546487ec5 (patch)
tree7a25296a654c1047dbc1d45d9d2e18cc066edc26 /source/blender/src/drawipo.c
parentc0becb45323d76ba0cf6840b264f20428c275e11 (diff)
Bugfix #5356
Outliner: the new 'restriction' options were drawn as buttons, and created always even when not visible. Gave big slowdowns on large data sets. Also: help lines were drawn as shorts, should be floats Cannot fix: button coordinates are short by default still, giant outliner data sets draw buttons in wrong location. Did add nice feature though; on several events the outliner now is not being re-built anymore, but redrawn only. I want to be a bit conservative with it though... but it happens for: - LMB drag to select items - pageup/down, scrollwheel, mmb scroll - search item - show active item - toggle selection Makes a good difference :)
Diffstat (limited to 'source/blender/src/drawipo.c')
-rw-r--r--source/blender/src/drawipo.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/src/drawipo.c b/source/blender/src/drawipo.c
index 8590f8898b8..c8013a62344 100644
--- a/source/blender/src/drawipo.c
+++ b/source/blender/src/drawipo.c
@@ -2531,6 +2531,9 @@ int view2dmove(unsigned short event)
view2d_do_locks(curarea, V2D_LOCK_COPY|V2D_LOCK_REDRAW);
areawinset(sa->win);
+ if(curarea->spacetype==SPACE_OOPS)
+ ((SpaceOops *)curarea->spacedata.first)->storeflag |= SO_TREESTORE_REDRAW;
+
scrarea_do_windraw(curarea);
screen_swapbuffers();