Fix T74916: Industry compat keymap: GP Tweak tool acts like the Cursor tool

This commit is contained in:
William Reynish 2020-03-19 14:43:50 +01:00
parent 91c1759956
commit 42012493a8
Notes: blender-bot 2023-02-14 08:45:09 +01:00
Referenced by issue #74916, Industry compatible keymap - Grease Pencil object in Edit mode - Tweak tool acts like the Cursor tool
1 changed files with 9 additions and 0 deletions

View File

@ -3951,6 +3951,14 @@ def km_image_editor_tool_uv_select(params):
)
def km_3d_view_tool_edit_gpencil_select(params):
return (
"3D View Tool: Edit Gpencil, Tweak",
{"space_type": 'VIEW_3D', "region_type": 'WINDOW'},
{"items": _template_items_tool_select(params, "gpencil.select", extend="toggle")},
)
# Fallback for gizmos that don't have custom a custom key-map.
@ -4088,6 +4096,7 @@ def generate_keymaps_impl(params=None):
# Tool System.
km_3d_view_tool_select(params),
km_image_editor_tool_uv_select(params),
km_3d_view_tool_edit_gpencil_select(params),
]