Fix #130739: Grease Pencil: MMB to confirm primitives does not work

This is due to conficting keymap. MMB was assigned for both panning and
confirm. As mentioned in a114534295, use
shift+MMB for panning.

Pull Request: https://projects.blender.org/blender/blender/pulls/130777
This commit is contained in:
Pratik Borhade
2024-11-25 12:11:34 +01:00
committed by Thomas Dinges
parent ee2e3b1613
commit f8d781b5f7
@@ -7814,7 +7814,7 @@ def km_grease_pencil_primitive_tool_modal_map(params):
items.extend([
("CANCEL", {"type": 'ESC', "value": 'PRESS', "any": True}, None),
("CANCEL", {"type": 'Q', "value": 'PRESS', "any": True}, None),
("PANNING", {"type": 'MIDDLEMOUSE', "value": 'ANY', "any": True}, None),
("PANNING", {"type": 'MIDDLEMOUSE', "value": 'ANY', "shift": True}, None),
("CONFIRM", {"type": 'RET', "value": 'PRESS', "any": True}, None),
("CONFIRM", {"type": 'NUMPAD_ENTER', "value": 'PRESS', "any": True}, None),
("CONFIRM", {"type": 'MIDDLEMOUSE', "value": 'PRESS'}, None),