Remove object hide_* operators from outliner keymap
authorDalai Felinto <dfelinto@gmail.com>
Fri, 15 Mar 2019 19:19:35 +0000 (16:19 -0300)
committerDalai Felinto <dfelinto@gmail.com>
Fri, 15 Mar 2019 19:19:37 +0000 (16:19 -0300)
We already have dedicated outliner visibility operators that not only
take precedent over those ones, but also unhide collections as well.

No change for the end user. That said, since I added the outliner
hide/unhide operators I assumed that newly visible objects are to be
selected. That can change in a separate commit, but it should be done
by changing OUTLINER_OT_unhide_all.

Reviewers: brecht

Differential Revision: https://developer.blender.org/D4527

release/scripts/presets/keyconfig/keymap_data/blender_default.py

index 596c1d2..f945563 100644 (file)
@@ -698,12 +698,6 @@ def km_outliner(params):
         ("outliner.collection_exclude_clear", {"type": 'E', "value": 'PRESS', "alt": True}, None),
         ("outliner.hide", {"type": 'H', "value": 'PRESS'}, None),
         ("outliner.unhide_all", {"type": 'H', "value": 'PRESS', "alt": True}, None),
-        ("object.hide_view_clear", {"type": 'H', "value": 'PRESS', "alt": True},
-         {"properties": [("select", False)]}),
-        ("object.hide_view_set", {"type": 'H', "value": 'PRESS'},
-         {"properties": [("unselected", False)]}),
-        ("object.hide_view_set", {"type": 'H', "value": 'PRESS', "shift": True},
-         {"properties": [("unselected", True)]}),
     ])
 
     return keymap