diff options
author | Richard Antalik <richardantalik@gmail.com> | 2021-05-20 06:00:13 +0300 |
---|---|---|
committer | Richard Antalik <richardantalik@gmail.com> | 2021-05-20 06:06:32 +0300 |
commit | 7655cc45eb9256f699d40be105cbb6fe93f2e119 (patch) | |
tree | 47c05c5f807f02577e657997bc6f659b843cef89 /source/blender/editors | |
parent | acba8f617b4b3d94598809e956c3eb600ece6015 (diff) |
VSE: Fix select strips at current frame feature
This feature of `select_side_of_frame` was disabled by removing option
from operator property enum but functional code was never removed.
Add back option to use this feature.
Feature was disabled due to keymap issue. Currently this feature doesn't
have keymap assigned.
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/space_sequencer/sequencer_select.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/space_sequencer/sequencer_select.c b/source/blender/editors/space_sequencer/sequencer_select.c index 3128ec06b68..e386a48ed7e 100644 --- a/source/blender/editors/space_sequencer/sequencer_select.c +++ b/source/blender/editors/space_sequencer/sequencer_select.c @@ -1186,7 +1186,7 @@ static int sequencer_select_side_of_frame_exec(bContext *C, wmOperator *op) case 1: test = (timeline_frame <= seq->startdisp); break; - case 0: + case 2: test = (timeline_frame <= seq->enddisp) && (timeline_frame >= seq->startdisp); break; } @@ -1209,6 +1209,7 @@ void SEQUENCER_OT_select_side_of_frame(wmOperatorType *ot) static const EnumPropertyItem sequencer_select_left_right_types[] = { {-1, "LEFT", 0, "Left", "Select to the left of the current frame"}, {1, "RIGHT", 0, "Right", "Select to the right of the current frame"}, + {2, "CURRENT", 0, "Current frame", "Select intersecting with the current frame"}, {0, NULL, 0, NULL, NULL}, }; |