Wrong visualization if value negative.

--HG--
branch : develop
This commit is contained in:
dismine 2014-11-09 13:25:29 +02:00
parent 0884d22f65
commit 33a235e8a3

View File

@ -183,8 +183,8 @@ QLineF VGObject::BuildLine(const QPointF &p1, const qreal &length, const qreal &
{
QLineF line = QLineF();
line.setP1(p1);
line.setAngle(angle);// First set angle than length. Length can have negative value.
line.setLength(length);
line.setAngle(angle);
return line;
}