Set angle first. Angle value can be negative.
--HG-- branch : develop
This commit is contained in:
parent
e1ff009771
commit
ba44e4e84d
|
@ -142,8 +142,8 @@ VToolEndLine* VToolEndLine::Create(const quint32 _id, const QString &pointName,
|
|||
const QSharedPointer<VPointF> basePoint = data->GeometricObject<VPointF>(basePointId);
|
||||
QLineF line = QLineF(basePoint->toQPointF(), QPointF(basePoint->x()+100, basePoint->y()));
|
||||
|
||||
line.setAngle(CheckFormula(_id, formulaAngle, data)); //First set angle.
|
||||
line.setLength(qApp->toPixel(CheckFormula(_id, formulaLength, data)));
|
||||
line.setAngle(CheckFormula(_id, formulaAngle, data));
|
||||
quint32 id = _id;
|
||||
if (typeCreation == Source::FromGui)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user