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:
authorJulian Eisel <eiseljulian@gmail.com>2016-10-15 20:44:37 +0300
committerJulian Eisel <eiseljulian@gmail.com>2016-10-16 15:10:30 +0300
commitf929045c2c1f8aa5ab458f99e6c9696fbd4397d2 (patch)
treedf6a95f5db8ac62e85f9a35098f307a5c66f0943 /source/blender/editors/space_outliner/outliner_edit.c
parent3999910b199f099466bc405ae87cb940f2509efa (diff)
Outliner: Avoid rebuilding tree when mouse-hover highlight changes
Diffstat (limited to 'source/blender/editors/space_outliner/outliner_edit.c')
-rw-r--r--source/blender/editors/space_outliner/outliner_edit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/space_outliner/outliner_edit.c b/source/blender/editors/space_outliner/outliner_edit.c
index 7890ce1f278..b8883371213 100644
--- a/source/blender/editors/space_outliner/outliner_edit.c
+++ b/source/blender/editors/space_outliner/outliner_edit.c
@@ -198,6 +198,7 @@ static int outliner_highlight_update(bContext *C, wmOperator *UNUSED(op), const
}
if (changed) {
+ soops->storeflag |= SO_TREESTORE_REDRAW; /* only needs to redraw, no rebuild */
ED_region_tag_redraw(ar);
}