Fix bug. Used wrong index.

--HG--
branch : feature
This commit is contained in:
Roman Telezhynskyi 2016-11-29 15:30:12 +02:00
parent 3ab96f0105
commit ffec656d33

View File

@ -134,9 +134,9 @@ QVector<QPointF> VPiece::SeamAllowancePoints(const VContainer *data) const
{
for (int j = 0; j < r.size(); ++j)
{
r[i].SetAngleType(PieceNodeAngle::ByLength);
r[i].SetSABefore(0);
r[i].SetSABefore(0);
r[j].SetAngleType(PieceNodeAngle::ByLength);
r[j].SetSABefore(0);
r[j].SetSABefore(0);
}
}