Fix T80397: Select Side not working correctly
Test for side on which strip is was incorrect.
This commit is contained in:
parent
d12ff69320
commit
c514357358
Notes:
blender-bot
2023-02-14 00:09:06 +01:00
Referenced by issue #80397, VSE: Select Side of Frame Includes Ended Strip on Other Side
|
@ -979,10 +979,10 @@ static int sequencer_select_side_of_frame_exec(bContext *C, wmOperator *op)
|
|||
bool test = false;
|
||||
switch (side) {
|
||||
case -1:
|
||||
test = (cfra >= seq->startdisp);
|
||||
test = (cfra >= seq->enddisp);
|
||||
break;
|
||||
case 1:
|
||||
test = (cfra <= seq->enddisp);
|
||||
test = (cfra <= seq->startdisp);
|
||||
break;
|
||||
case 0:
|
||||
test = (cfra <= seq->enddisp) && (cfra >= seq->startdisp);
|
||||
|
|
Loading…
Reference in New Issue