Industry Compat keymap: Remove ability to cancel knife with right click.
authorWilliam Reynish <billrey@me.com>
Sun, 5 May 2019 18:49:25 +0000 (20:49 +0200)
committerWilliam Reynish <billrey@me.com>
Sun, 5 May 2019 18:49:25 +0000 (20:49 +0200)
Was too easy to do by mistake while attempting to zoom.

Unfortunately it seems like it's not currently possible to add zooming to the Knife modal keymap, so this is still missing here.

release/scripts/presets/keyconfig/keymap_data/industry_compatible_data.py

index c0d262e..6cb1344 100644 (file)
@@ -3401,7 +3401,6 @@ def km_knife_tool_modal_map(_params):
         ("CANCEL", {"type": 'ESC', "value": 'PRESS', "any": True}, None),
         ("PANNING", {"type": 'LEFTMOUSE', "value": 'PRESS', "alt": True}, 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": 'LEFTMOUSE', "value": 'DOUBLE_CLICK', "any": True}, None),