Fix Valentina hang in formula CSR.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2017-11-21 11:03:37 +02:00
parent 9162b58417
commit 191e4e7d08

View File

@ -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;
} }