Keymap: restore key-shortcut to remove from local-view
Use Alt-Slash to remove objects from local-view (was M prior to [0]),
following the convention of using Alt to perform the reverse of an
action. Also remove the confirmation menu as this key as it can be
undone and it's not likely to be pressed by accident.
This can be useful to quickly subtract items from a complex selection
with items that only become visible when entering local-view.
The M key was originally used in 2.4x since moving between layers wasn't
possible. Now moving between collections is possible in local-view
the keys collided.
[0]: cf5d582b77
This commit is contained in:
parent
3f305b9ab3
commit
f076493dbb
|
@ -1387,6 +1387,8 @@ def km_view3d(params):
|
|||
("view3d.localview", {"type": 'NUMPAD_SLASH', "value": 'PRESS'}, None),
|
||||
("view3d.localview", {"type": 'SLASH', "value": 'PRESS'}, None),
|
||||
("view3d.localview", {"type": 'MOUSESMARTZOOM', "value": 'ANY'}, None),
|
||||
("view3d.localview_remove_from", {"type": 'NUMPAD_SLASH', "value": 'PRESS', "alt": True}, None),
|
||||
("view3d.localview_remove_from", {"type": 'SLASH', "value": 'PRESS', "alt": True}, None),
|
||||
# Navigation.
|
||||
("view3d.rotate", {"type": 'MOUSEROTATE', "value": 'ANY'}, None),
|
||||
*((
|
||||
|
|
|
@ -1129,7 +1129,6 @@ void VIEW3D_OT_localview_remove_from(wmOperatorType *ot)
|
|||
|
||||
/* api callbacks */
|
||||
ot->exec = localview_remove_from_exec;
|
||||
ot->invoke = WM_operator_confirm;
|
||||
ot->poll = localview_remove_from_poll;
|
||||
ot->flag = OPTYPE_UNDO;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue