[Bf-blender-cvs] [fabde06b37] blender2.8: Fix outliner "Sort Alphabetically" having not working
Julian Eisel
noreply at git.blender.org
Sun Feb 26 19:25:03 CET 2017
Commit: fabde06b3784b9acb35ff7fa29ea4533a8ac2ca5
Author: Julian Eisel
Date: Sun Feb 26 19:24:01 2017 +0100
Branches: blender2.8
https://developer.blender.org/rBfabde06b3784b9acb35ff7fa29ea4533a8ac2ca5
Fix outliner "Sort Alphabetically" having not working
===================================================================
M source/blender/editors/space_outliner/outliner_tree.c
===================================================================
diff --git a/source/blender/editors/space_outliner/outliner_tree.c b/source/blender/editors/space_outliner/outliner_tree.c
index 11b25f7fc8..f19d6c1e8a 100644
--- a/source/blender/editors/space_outliner/outliner_tree.c
+++ b/source/blender/editors/space_outliner/outliner_tree.c
@@ -1870,7 +1870,9 @@ void outliner_build_tree(Main *mainvar, Scene *scene, SceneLayer *sl, SpaceOops
ten = outliner_add_element(soops, &soops->tree, OBACT_NEW, NULL, 0, 0);
}
- outliner_sort(&soops->tree);
+ if ((soops->flag & SO_SKIP_SORT_ALPHA) == 0) {
+ outliner_sort(&soops->tree);
+ }
outliner_filter_tree(soops, &soops->tree);
BKE_main_id_clear_newpoins(mainvar);
More information about the Bf-blender-cvs
mailing list