Fix T65108: GPencil Sculpt mode select tools don't work

Move the sculpt keymap from the mode to the tool.
This commit is contained in:
Campbell Barton
2019-06-06 15:53:11 +10:00
parent f0ff593d97
commit b69ed14ff7
2 changed files with 21 additions and 7 deletions

View File

@@ -1466,6 +1466,10 @@ class _defs_gpencil_sculpt:
icon_prefix="ops.gpencil.sculpt_",
type=bpy.types.GPencilSculptSettings,
attr="sculpt_tool",
tooldef_keywords=dict(
operator="gpencil.sculpt_paint",
keymap="3D View Tool: Sculpt Gpencil, Paint",
),
)