Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2016-03-16 16:26:50 +0300
committerCampbell Barton <ideasman42@gmail.com>2016-03-16 16:26:50 +0300
commit3274dbceb1d66be668a4be3a974a43a61b4ea3c0 (patch)
tree4565670c44a6d8a6724edbfe0b0188ce6c64e1ff /source/blender/editors/space_sequencer/sequencer_select.c
parent23e608b6fbdfa9b5dce18803527a9cb92f3ed5b6 (diff)
Sequencer: Alt-RMB select handle now always selects strip
Was possible to do Alt-RMB on a strips handle - which only make the strip active (but didn't select). This isn't really useful, so just select the strip and its handles in this case.
Diffstat (limited to 'source/blender/editors/space_sequencer/sequencer_select.c')
-rw-r--r--source/blender/editors/space_sequencer/sequencer_select.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/editors/space_sequencer/sequencer_select.c b/source/blender/editors/space_sequencer/sequencer_select.c
index 3dff2442f45..3c2a66cd3af 100644
--- a/source/blender/editors/space_sequencer/sequencer_select.c
+++ b/source/blender/editors/space_sequencer/sequencer_select.c
@@ -437,7 +437,10 @@ static int sequencer_select_invoke(bContext *C, wmOperator *op, const wmEvent *e
seq->flag |= is_striponly_selected ? SEQ_ALLSEL : SELECT;
select_surrounding_handles(scene, seq);
}
- else if (seq->flag & SELECT) {
+ else {
+ /* always select the strip under the cursor */
+ seq->flag |= SELECT;
+
/* First click selects adjacent handles on that side.
* Second click selects all strips in that direction.
* If there are no adjacent strips, it just selects all in that direction.