diff options
author | William Reynish <billrey@me.com> | 2019-04-30 21:56:13 +0300 |
---|---|---|
committer | William Reynish <billrey@me.com> | 2019-04-30 21:56:13 +0300 |
commit | 22cc69ace8d441750856816453d5a1c16e53f2bf (patch) | |
tree | e78192fdf61616864d6db8cc258bf12a79b4774f | |
parent | 2fd6e855a53467bc10a9c1c1203fd1da20716ae3 (diff) |
Industry Compat Keymap: Fix Knife tool
Was adding new cuts automatically.
-rw-r--r-- | release/scripts/presets/keyconfig/keymap_data/industry_compatible_data.py | 5 |
1 files changed, 3 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 0d0d5f02fd4..f5331cfa262 100644 --- a/release/scripts/presets/keyconfig/keymap_data/industry_compatible_data.py +++ b/release/scripts/presets/keyconfig/keymap_data/industry_compatible_data.py @@ -3347,10 +3347,11 @@ def km_knife_tool_modal_map(_params): items.extend([ ("CANCEL", {"type": 'ESC', "value": 'PRESS', "any": True}, None), ("PANNING", {"type": 'LEFTMOUSE', "value": 'PRESS', "alt": True}, None), - ("ADD_CUT", {"type": 'LEFTMOUSE', "value": 'PRESS'}, None), + ("ADD_CUT", {"type": 'LEFTMOUSE', "value": 'ANY', "any": True}, None), + ("CANCEL", {"type": 'RIGHTMOUSE', "value": 'PRESS', "any": True}, None), ("CONFIRM", {"type": 'RET', "value": 'PRESS', "any": True}, None), ("CONFIRM", {"type": 'NUMPAD_ENTER', "value": 'PRESS', "any": True}, None), - ("CONFIRM", {"type": 'SPACE', "value": 'PRESS', "any": True}, None), + ("CONFIRM", {"type": 'LEFTMOUSE', "value": 'DOUBLE_CLICK', "any": True}, 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), |