[Bf-blender-cvs] [97e2b0c594a] blender2.8: Outliner: Follow up on "Alphabetical sorting"

Dalai Felinto noreply at git.blender.org
Thu Jan 18 21:23:31 CET 2018


Commit: 97e2b0c594a0ecca0ecd0391ed0b65399c177372
Author: Dalai Felinto
Date:   Thu Jan 18 18:22:13 2018 -0200
Branches: blender2.8
https://developer.blender.org/rB97e2b0c594a0ecca0ecd0391ed0b65399c177372

Outliner: Follow up on "Alphabetical sorting"

Technicall this works for collections modes too (View Layer and Collections) even
if only for objects. So it should be in the menu as well.

===================================================================

M	release/scripts/startup/bl_ui/space_outliner.py

===================================================================

diff --git a/release/scripts/startup/bl_ui/space_outliner.py b/release/scripts/startup/bl_ui/space_outliner.py
index 60684911eb3..d97f057a903 100644
--- a/release/scripts/startup/bl_ui/space_outliner.py
+++ b/release/scripts/startup/bl_ui/space_outliner.py
@@ -93,9 +93,7 @@ class OUTLINER_MT_view(Menu):
         space = context.space_data
 
         if space.display_mode not in {'DATABLOCKS', 'USER_PREFERENCES', 'KEYMAPS'}:
-            if space.display_mode not in {'VIEW_LAYER', 'COLLECTIONS'}:
-                layout.prop(space, "use_sort_alpha")
-
+            layout.prop(space, "use_sort_alpha")
             layout.prop(space, "show_restrict_columns")
             layout.separator()
             layout.operator("outliner.show_active")



More information about the Bf-blender-cvs mailing list