diff options
author | Richard Antalik <richardantalik@gmail.com> | 2020-02-09 19:59:13 +0300 |
---|---|---|
committer | Richard Antalik <richardantalik@gmail.com> | 2020-02-09 19:59:13 +0300 |
commit | 5314161491d41461fe09c4774229481dde93e250 (patch) | |
tree | af529b82a8c31117c2bc68c728e7dcec812e8b86 /release | |
parent | f780057d52c1e5b76cd2a5d8b7c577db2374c95c (diff) |
VSE: Add option to select handles with box selection
Patch adds an "Handle" option to the `SEQUENCER_OT_box_select` operator,
that allows to select the handles instead of whole strips.
Feature is mapped to Alt key modifier
A difference from the proposed design in T70730 is that covering the entire strip with the box actually selects both handles.
Reviewed By: iss
Differential Revision: https://developer.blender.org/D6372
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/presets/keyconfig/keymap_data/blender_default.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/release/scripts/presets/keyconfig/keymap_data/blender_default.py b/release/scripts/presets/keyconfig/keymap_data/blender_default.py index d90aaceff60..e85c94ba5e6 100644 --- a/release/scripts/presets/keyconfig/keymap_data/blender_default.py +++ b/release/scripts/presets/keyconfig/keymap_data/blender_default.py @@ -2477,6 +2477,14 @@ def km_sequencer(params): ("sequencer.select_box", {"type": params.select_tweak, "value": 'ANY', "ctrl": True}, {"properties": [("tweak", True), ("mode", 'SUB')]}), ("sequencer.select_box", {"type": 'B', "value": 'PRESS'}, None), + ("sequencer.select_box", {"type": 'B', "value": 'PRESS', "alt": True}, + {"properties": [("handles", True)]}), + ("sequencer.select_box", {"type": params.select_tweak, "value": 'ANY', "alt": True}, + {"properties": [("handles", True), ("tweak", True), ("mode", 'SET')]}), + ("sequencer.select_box", {"type": params.select_tweak, "value": 'ANY', "shift": True, "alt": True}, + {"properties": [("handles", True), ("tweak", True), ("mode", 'ADD')]}), + ("sequencer.select_box", {"type": params.select_tweak, "value": 'ANY', "ctrl": True, "alt": True}, + {"properties": [("handles", True), ("tweak", True), ("mode", 'SUB')]}), ("sequencer.select_grouped", {"type": 'G', "value": 'PRESS', "shift": True}, None), op_menu("SEQUENCER_MT_add", {"type": 'A', "value": 'PRESS', "shift": True}), op_menu("SEQUENCER_MT_change", {"type": 'C', "value": 'PRESS'}), |