Merge branch 'blender-v2.83-release'

This commit is contained in:
Campbell Barton 2020-04-20 18:36:48 +10:00
commit 5f5ec7b0ed
1 changed files with 9 additions and 4 deletions

View File

@ -6532,10 +6532,15 @@ def km_sequencer_editor_tool_select_box(params):
return (
"Sequencer Tool: Select Box",
{"space_type": 'SEQUENCE_EDITOR', "region_type": 'WINDOW'},
{"items": _template_items_tool_select_actions_simple(
"sequencer.select_box", type=params.tool_tweak, value='ANY',
properties=[("tweak", True)],
)},
{"items": [
*_template_items_tool_select_actions_simple(
"sequencer.select_box", type=params.tool_tweak, value='ANY',
properties=[("tweak", params.select_mouse == 'LEFTMOUSE')],
),
# RMB select can already set the frame, match the tweak tool.
*(_template_items_change_frame(params)
if params.select_mouse == 'LEFTMOUSE' else []),
]},
)