Merge branch 'blender-v2.92-release'
This commit is contained in:
commit
e9a47223cb
|
@ -3997,6 +3997,19 @@ def km_3d_view_tool_edit_gpencil_select(params):
|
|||
)
|
||||
|
||||
|
||||
def km_3d_view_tool_interactive_add(params):
|
||||
return (
|
||||
"3D View Tool: Object, Add Primitive",
|
||||
{"space_type": 'VIEW_3D', "region_type": 'WINDOW'},
|
||||
{"items": [
|
||||
("view3d.interactive_add", {"type": params.tool_tweak, "value": 'ANY'},
|
||||
{"properties": [("wait_for_input", False)]}),
|
||||
("view3d.interactive_add", {"type": params.tool_tweak, "value": 'ANY', "ctrl": True},
|
||||
{"properties": [("wait_for_input", False)]}),
|
||||
]},
|
||||
)
|
||||
|
||||
|
||||
# Fallback for gizmos that don't have custom a custom key-map.
|
||||
|
||||
|
||||
|
@ -4135,6 +4148,7 @@ def generate_keymaps_impl(params=None):
|
|||
km_3d_view_tool_select(params),
|
||||
km_image_editor_tool_uv_select(params),
|
||||
km_3d_view_tool_edit_gpencil_select(params),
|
||||
km_3d_view_tool_interactive_add(params),
|
||||
]
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue