Industry Compat Keymap: Fix Knife tool

Was adding new cuts automatically.
This commit is contained in:
William Reynish 2019-04-30 20:56:13 +02:00
parent 2fd6e855a5
commit 22cc69ace8
Notes: blender-bot 2023-02-14 08:24:03 +01:00
Referenced by issue #63588, Cycles does need recalculate MIP after modifying a material
1 changed files with 3 additions and 2 deletions

View File

@ -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),