Fix: Grease Pencil: Stroke method shortcut in sculpt mode

Use `Alt E` to invoke stroke method enum menu. This is done for other
objects/modes, except grease pencil.

Mentioned in #147019

Pull Request: https://projects.blender.org/blender/blender/pulls/147034
This commit is contained in:
Pratik Borhade
2025-10-08 11:10:14 +02:00
committed by Pratik Borhade
parent f113af51ab
commit e816f4976a

View File

@@ -4212,6 +4212,8 @@ def km_grease_pencil_sculpt_mode(params):
# Auto-masking menu.
op_menu_pie("VIEW3D_MT_grease_pencil_sculpt_automasking_pie", {
"type": 'A', "value": 'PRESS', "shift": True, "alt": True}),
("wm.context_menu_enum", {"type": 'E', "value": 'PRESS', "alt": True},
{"properties": [("data_path", "tool_settings.gpencil_sculpt_paint.brush.stroke_method")]}),
*_template_paint_radial_control("gpencil_sculpt_paint"),
*_template_asset_shelf_popup("VIEW3D_AST_brush_gpencil_sculpt", params.spacebar_action),