Fix T48600: VSE strip 'side selection' fails in 'Both' case.

Looks like a line was forgotten in the 'BOTH' case in code...
This commit is contained in:
Bastien Montagne 2016-06-07 22:37:31 +02:00
parent 9081adf097
commit 38f07a81b3
Notes: blender-bot 2024-03-25 12:30:38 +01:00
Referenced by issue #48600, VSE strip selection fails
1 changed files with 2 additions and 1 deletions

View File

@ -107,6 +107,7 @@ static void select_active_side(ListBase *seqbase, int sel_side, int channel, int
break;
case SEQ_SIDE_BOTH:
seq->flag &= ~(SEQ_RIGHTSEL | SEQ_LEFTSEL);
seq->flag |= SELECT;
break;
}
}
@ -812,7 +813,7 @@ static int sequencer_select_handles_exec(bContext *C, wmOperator *op)
seq->flag |= SEQ_RIGHTSEL;
break;
case SEQ_SIDE_BOTH:
seq->flag |= SEQ_LEFTSEL + SEQ_RIGHTSEL;
seq->flag |= SEQ_LEFTSEL | SEQ_RIGHTSEL;
break;
}
}