Industry Compat Keymap: Fix box/lasso selection for GP edit mode
There was a bug which which prevented box and lasso select to work correctly in GP Edit Mode. It would select a nearby vertex before the box selection. This patch fixes it so it works with a click event, like the default keymap, which fixes box and lasso selection. Ref D10119
This commit is contained in:
parent
d7cfee0b68
commit
cd4e27a4a1
|
@ -2277,7 +2277,7 @@ def km_grease_pencil(_params):
|
|||
|
||||
def _grease_pencil_selection(params):
|
||||
return [
|
||||
("gpencil.select", {"type": 'LEFTMOUSE', "value": 'PRESS', "shift": True},
|
||||
("gpencil.select", {"type": 'LEFTMOUSE', "value": 'CLICK', "shift": True},
|
||||
{"properties": [("extend", True), ("toggle", True)]}),
|
||||
# Select all
|
||||
("gpencil.select_all", {"type": 'A', "value": 'PRESS', "ctrl": True}, {"properties": [("action", 'SELECT')]}),
|
||||
|
|
Loading…
Reference in New Issue