Fix for sequencer invalid rounding, double wipe at 0 angle
This commit is contained in:
parent
6cc5bdc99e
commit
ca4dde48f3
|
@ -1350,8 +1350,8 @@ static float check_zone(WipeZone *wipezone, int x, int y, Sequence *seq, float f
|
|||
b3 = yo - posy * 0.5f;
|
||||
b2 = y;
|
||||
|
||||
hyp = abs(y - posy * 0.5f);
|
||||
hyp2 = abs(y - (yo - posy * 0.5f));
|
||||
hyp = fabsf(y - posy * 0.5f);
|
||||
hyp2 = fabsf(y - (yo - posy * 0.5f));
|
||||
}
|
||||
else {
|
||||
b1 = posy * 0.5f - (-angle) * posx * 0.5f;
|
||||
|
|
Loading…
Reference in New Issue