Sequencer: Select sideof failed for strips touching the playhead
This commit is contained in:
@@ -357,25 +357,22 @@ static int sequencer_select_invoke(bContext *C, wmOperator *op, const wmEvent *e
|
||||
case SEQ_SELECT_LR_MOUSE:
|
||||
x = UI_view2d_region_to_view_x(v2d, event->mval[0]);
|
||||
break;
|
||||
|
||||
case SEQ_SELECT_LR_LEFT:
|
||||
x = CFRA - 1;
|
||||
break;
|
||||
case SEQ_SELECT_LR_RIGHT:
|
||||
x = CFRA + 1;
|
||||
x = CFRA;
|
||||
break;
|
||||
}
|
||||
|
||||
SEQP_BEGIN (ed, seq)
|
||||
{
|
||||
if (x < CFRA) {
|
||||
if (seq->enddisp < CFRA) {
|
||||
if (seq->enddisp <= CFRA) {
|
||||
seq->flag |= SELECT;
|
||||
recurs_sel_seq(seq);
|
||||
}
|
||||
}
|
||||
else {
|
||||
if (seq->startdisp > CFRA) {
|
||||
if (seq->startdisp >= CFRA) {
|
||||
seq->flag |= SELECT;
|
||||
recurs_sel_seq(seq);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user