diff options
author | William Reynish <billreynish> | 2021-01-21 07:09:23 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-01-21 07:11:33 +0300 |
commit | cd4e27a4a176a87ddba246d9ea9423cf5d6fd935 (patch) | |
tree | 3b2f7736c94d4cd02dcd526084bcae3d357537ca | |
parent | d7cfee0b683611a95ec69d47ca6d0f403a89e835 (diff) |
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
-rw-r--r-- | release/scripts/presets/keyconfig/keymap_data/industry_compatible_data.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/presets/keyconfig/keymap_data/industry_compatible_data.py b/release/scripts/presets/keyconfig/keymap_data/industry_compatible_data.py index 3133b184f98..1a1fbc12754 100644 --- a/release/scripts/presets/keyconfig/keymap_data/industry_compatible_data.py +++ b/release/scripts/presets/keyconfig/keymap_data/industry_compatible_data.py @@ -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')]}), |