Fix Valentina hang in formula CSR.
--HG-- branch : develop
This commit is contained in:
parent
9162b58417
commit
191e4e7d08
|
@ -96,7 +96,7 @@ qreal CSR(qreal length, qreal split, qreal arcLength)
|
||||||
return angle;
|
return angle;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (angle < 0 || angle >= 360)
|
if (angle < 0.00001 || angle >= 360)
|
||||||
{
|
{
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user