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>2017-02-26 21:24:01 +0300
committerJulian Eisel <eiseljulian@gmail.com>2017-02-26 21:24:01 +0300
commitfabde06b3784b9acb35ff7fa29ea4533a8ac2ca5 (patch)
tree29107b192642489ab4a79a2e06247feebf594414 /source/blender
parent20a105d54cc651190a9051a13c363b185f98d5e6 (diff)
Fix outliner "Sort Alphabetically" having not working
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/editors/space_outliner/outliner_tree.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/editors/space_outliner/outliner_tree.c b/source/blender/editors/space_outliner/outliner_tree.c
index 11b25f7fc87..f19d6c1e8a8 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);