Fix: greasepencil selection mask picking points not working
When in greasepencil sculpt-/vertexpaint mode and using selection masking, picking points wasnt working correctly. So regular gpencil.select (without modifier keys) was not enabled for the keymap. This only really makes sense for RCS (right click select) atm (and not using RC fallback tools - which I dont think are present in these modes anyways). With RCS, this can be supported and afaict, this does not cause conflicts. NOTE: prior to D16576, one could use the ALT modifier key (this combination was actually in the keymap) -- but it should select the entire stroke, which is handled in D16576. Differential Revision: https://developer.blender.org/D16577
This commit is contained in:
parent
e981a187e5
commit
f3a10a1543
Notes:
blender-bot
2023-02-14 05:50:03 +01:00
Referenced by issue #100749, Blender LTS: Maintenance Task 3.3
|
@ -3935,7 +3935,7 @@ def km_grease_pencil_stroke_sculpt_mode(params):
|
|||
|
||||
items.extend([
|
||||
# Selection
|
||||
*_grease_pencil_selection(params, use_select_mouse=False),
|
||||
*_grease_pencil_selection(params, use_select_mouse=(params.use_fallback_tool_select_mouse == False)),
|
||||
|
||||
# Brush strength
|
||||
("wm.radial_control", {"type": 'F', "value": 'PRESS', "shift": True},
|
||||
|
@ -4223,7 +4223,7 @@ def km_grease_pencil_stroke_vertex_mode(params):
|
|||
|
||||
items.extend([
|
||||
# Selection
|
||||
*_grease_pencil_selection(params, use_select_mouse=False),
|
||||
*_grease_pencil_selection(params, use_select_mouse=(params.use_fallback_tool_select_mouse == False)),
|
||||
# Brush strength
|
||||
("wm.radial_control", {"type": 'F', "value": 'PRESS', "shift": True},
|
||||
{"properties": [
|
||||
|
|
Loading…
Reference in New Issue