Fix: Grease Pencil: Brush selector shortcut missing in vertex paint mode

All sculpt and paint modes should bring up the brush selector asset
shelf popup on Shift+Spacebar. For grease pencil vertex paint mode the
shortcut was missing. I think it was added earlier, but only for the
grease pencil v2 keymap, the v3 one got merged later only.
This commit is contained in:
Julian Eisel
2024-10-28 18:16:06 +01:00
parent f0125f26fd
commit 8b0206fa26

View File

@@ -4167,6 +4167,11 @@ def km_grease_pencil_vertex_paint(params):
*_template_paint_radial_control("gpencil_vertex_paint"),
# Context menu
*_template_items_context_panel("VIEW3D_PT_greasepencil_vertex_paint_context_menu", params.context_menu_event),
op_asset_shelf_popup(
"VIEW3D_AST_brush_gpencil_vertex",
{"type": 'SPACE', "value": 'PRESS', "shift": True}
),
])
return keymap