Keymap: Add front/back Alt-MMB absolute view axis switching

Oversight in previous commit.
This commit is contained in:
Campbell Barton 2020-02-15 19:07:25 +11:00
parent 35e3dc9192
commit a200986273
Notes: blender-bot 2023-02-14 02:30:11 +01:00
Referenced by issue #74274, Blender 2.82a proposed revisions
Referenced by issue #73867, Crash when trying to open some of  the Eevee's demos.
1 changed files with 5 additions and 0 deletions

View File

@ -1074,6 +1074,11 @@ def km_view3d(params):
{"properties": [("type", 'RIGHT')]}),
("view3d.view_axis", {"type": 'EVT_TWEAK_M', "value": 'WEST', "alt": True},
{"properties": [("type", 'LEFT')]}),
# Match the pie menu.
("view3d.view_axis", {"type": 'EVT_TWEAK_M', "value": 'NORTH_WEST', "alt": True},
{"properties": [("type", 'FRONT')]}),
("view3d.view_axis", {"type": 'EVT_TWEAK_M', "value": 'NORTH_EAST', "alt": True},
{"properties": [("type", 'BACK')]}),
)),
("view3d.view_center_pick", {"type": 'MIDDLEMOUSE', "value": 'CLICK', "alt": True}, None),
("view3d.ndof_orbit_zoom", {"type": 'NDOF_MOTION', "value": 'ANY'}, None),