diff options
author | William Reynish <billrey@me.com> | 2019-05-07 14:51:11 +0300 |
---|---|---|
committer | William Reynish <billrey@me.com> | 2019-05-07 14:52:31 +0300 |
commit | 59688265621026a71263920c91b412a46a608ae6 (patch) | |
tree | 4fa7ae502a8f0493c28de1db5a1ed37549555473 /release | |
parent | 090545158ac541b1daacd56a6906ec5653da42f4 (diff) |
Industry Compat Keymap: Allow panning and zooming while using the Knife tool
Previously you could only orbit.
Apparently the order of the keys in the modal keymap makes a big difference.
Thanks to users Znio.G and Oskar on Devtalk who provided this solution.
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/presets/keyconfig/keymap_data/industry_compatible_data.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/release/scripts/presets/keyconfig/keymap_data/industry_compatible_data.py b/release/scripts/presets/keyconfig/keymap_data/industry_compatible_data.py index 77c0673d7fd..cb323de7128 100644 --- a/release/scripts/presets/keyconfig/keymap_data/industry_compatible_data.py +++ b/release/scripts/presets/keyconfig/keymap_data/industry_compatible_data.py @@ -3409,8 +3409,8 @@ def km_knife_tool_modal_map(_params): ("PANNING", {"type": 'LEFTMOUSE', "value": 'PRESS', "alt": True}, None), ("CONFIRM", {"type": 'RET', "value": 'PRESS', "any": True}, None), ("CONFIRM", {"type": 'NUMPAD_ENTER', "value": 'PRESS', "any": True}, None), - ("CONFIRM", {"type": 'LEFTMOUSE', "value": 'DOUBLE_CLICK', "any": False}, None), - ("ADD_CUT", {"type": 'LEFTMOUSE', "value": 'ANY', "any": False}, None), + ("CONFIRM", {"type": 'LEFTMOUSE', "value": 'DOUBLE_CLICK'}, None), + ("ADD_CUT", {"type": 'LEFTMOUSE', "value": 'ANY'}, None), ("NEW_CUT", {"type": 'E', "value": 'PRESS'}, None), ("SNAP_MIDPOINTS_ON", {"type": 'LEFT_CTRL', "value": 'PRESS', "any": True}, None), ("SNAP_MIDPOINTS_OFF", {"type": 'LEFT_CTRL', "value": 'RELEASE', "any": True}, None), @@ -3422,6 +3422,9 @@ def km_knife_tool_modal_map(_params): ("IGNORE_SNAP_OFF", {"type": 'RIGHT_SHIFT', "value": 'RELEASE', "any": True}, None), ("ANGLE_SNAP_TOGGLE", {"type": 'C', "value": 'PRESS'}, None), ("CUT_THROUGH_TOGGLE", {"type": 'X', "value": 'PRESS'}, None), + ("PANNING", {"type": 'MIDDLEMOUSE', "value": 'PRESS', "alt": True}, None), + ("PANNING", {"type": 'RIGHTMOUSE', "value": 'PRESS', "alt": True}, None), + ("CONFIRM", {"type": 'RIGHTMOUSE', "value": 'PRESS'}, None), ]) return keymap |