Fix T70582: Gpencil crash when use Shift+Alt+LMB
This keymap was the old polygon mode for old grease pencil and now this have been replaced with Line tool. As this code was not ready for this keymap, the code gets out of control and fails. The solution is to remove this deprecated keymap.
This commit is contained in:
parent
4707f1982d
commit
54a9649e26
Notes:
blender-bot
2023-02-14 04:14:48 +01:00
Referenced by issue #70659, Warning, Regression, slow vertex selection Referenced by issue #70611, Numerous problems with Eevee and new Bump Map Referenced by issue #70602, Cycles failed to compiling kernal for baking with AMD GPU Referenced by issue #70582, Crash in Grease Pencil Draw mode when pressing Shift Alt Left Mouse Referenced by issue #70547, Visual glitches in edit mode after applying Subdivision Surface to torus mesh Referenced by issue #60043, macOS viewport lagging
|
@ -3170,9 +3170,6 @@ def km_grease_pencil_stroke_paint_draw_brush(params):
|
|||
# Draw - straight lines
|
||||
("gpencil.draw", {"type": 'LEFTMOUSE', "value": 'PRESS', "alt": True},
|
||||
{"properties": [("mode", 'DRAW_STRAIGHT'), ("wait_for_input", False)]}),
|
||||
# Draw - poly lines
|
||||
("gpencil.draw", {"type": 'LEFTMOUSE', "value": 'PRESS', "shift": True, "alt": True},
|
||||
{"properties": [("mode", 'DRAW_POLY'), ("wait_for_input", False)]}),
|
||||
# Erase
|
||||
("gpencil.draw", {"type": 'LEFTMOUSE', "value": 'PRESS', "ctrl": True},
|
||||
{"properties": [("mode", 'ERASER'), ("wait_for_input", False)]}),
|
||||
|
|
Loading…
Reference in New Issue