[Bf-blender-cvs] [f929045] blender2.8: Outliner: Avoid rebuilding tree when mouse-hover highlight changes
Julian Eisel
noreply at git.blender.org
Sun Oct 16 14:30:52 CEST 2016
Commit: f929045c2c1f8aa5ab458f99e6c9696fbd4397d2
Author: Julian Eisel
Date: Sat Oct 15 19:44:37 2016 +0200
Branches: blender2.8
https://developer.blender.org/rBf929045c2c1f8aa5ab458f99e6c9696fbd4397d2
Outliner: Avoid rebuilding tree when mouse-hover highlight changes
===================================================================
M source/blender/editors/space_outliner/outliner_edit.c
===================================================================
diff --git a/source/blender/editors/space_outliner/outliner_edit.c b/source/blender/editors/space_outliner/outliner_edit.c
index 7890ce1..b888337 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);
}
More information about the Bf-blender-cvs
mailing list