Remove object hide_* operators from outliner keymap

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
This commit is contained in:
Dalai Felinto 2019-03-15 16:19:35 -03:00
parent b7d942446f
commit 4510f88d00

@ -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