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.
This commit is contained in:
Campbell Barton 2016-03-17 00:26:50 +11:00
parent 23e608b6fb
commit 3274dbceb1

@ -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.