Speed optimization.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2015-05-14 20:22:24 +03:00
parent cd19fe14cb
commit 3cf421bde4

View File

@ -660,7 +660,7 @@ QVector<QPointF> VPosition::CutEdge(const QLineF &edge, unsigned int shift)
//--------------------------------------------------------------------------------------------------------------------- //---------------------------------------------------------------------------------------------------------------------
void VPosition::Rotate(int increase) void VPosition::Rotate(int increase)
{ {
for (int angle = 0; angle <= 360; angle = angle+increase) for (int angle = 0; angle < 360; angle = angle+increase)
{ {
if (*stop) if (*stop)
{ {