From 5314161491d41461fe09c4774229481dde93e250 Mon Sep 17 00:00:00 2001 From: Richard Antalik Date: Sun, 9 Feb 2020 17:59:13 +0100 Subject: 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 --- release/scripts/presets/keyconfig/keymap_data/blender_default.py | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'release') 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'}), -- cgit v1.2.3