Clean code.
--HG-- branch : develop
This commit is contained in:
parent
575068e181
commit
3f79c0f057
|
@ -61,7 +61,6 @@ VControlPointSpline::VControlPointSpline(const qint32 &indexSpline, SplinePointP
|
||||||
freeLength(true)
|
freeLength(true)
|
||||||
{
|
{
|
||||||
Init();
|
Init();
|
||||||
setVisible(false);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
|
@ -89,7 +88,6 @@ VControlPointSpline::VControlPointSpline(const qint32 &indexSpline, SplinePointP
|
||||||
this->setFlag(QGraphicsItem::ItemSendsGeometryChanges, true);
|
this->setFlag(QGraphicsItem::ItemSendsGeometryChanges, true);
|
||||||
this->setAcceptHoverEvents(true);
|
this->setAcceptHoverEvents(true);
|
||||||
this->setPos(controlPoint);
|
this->setPos(controlPoint);
|
||||||
setVisible(false);
|
|
||||||
|
|
||||||
// Do not draw control point in constructor. It creates artefacts if they enabled from start.
|
// Do not draw control point in constructor. It creates artefacts if they enabled from start.
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user