[Bf-blender-cvs] [edf053ff635] master: Outliner Python UI cleanup: remove KEYMAPS

Dalai Felinto noreply at git.blender.org
Fri Jan 19 15:46:16 CET 2018


Commit: edf053ff635e782d09b64d205fadfca3cce79de4
Author: Dalai Felinto
Date:   Fri Jan 19 12:44:38 2018 -0200
Branches: master
https://developer.blender.org/rBedf053ff635e782d09b64d205fadfca3cce79de4

Outliner Python UI cleanup: remove KEYMAPS

This was removed since 2013 (ef765b360675). It should have been removed back
then from the UI file too.

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

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 731ab3d4b14..4951ef83ad0 100644
--- a/release/scripts/startup/bl_ui/space_outliner.py
+++ b/release/scripts/startup/bl_ui/space_outliner.py
@@ -87,7 +87,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 {'DATABLOCKS', 'USER_PREFERENCES'}:
             layout.prop(space, "use_sort_alpha")
             layout.prop(space, "show_restrict_columns")
             layout.separator()



More information about the Bf-blender-cvs mailing list