Changing curved path settings should not trigger visibility of control points.
This commit is contained in:
parent
b78adf9264
commit
1394204c65
|
@ -82,10 +82,10 @@ VControlPointSpline::VControlPointSpline(const vsizetype &indexSpline, SplinePoi
|
||||||
{
|
{
|
||||||
Init();
|
Init();
|
||||||
|
|
||||||
|
this->setPos(controlPoint);
|
||||||
this->setFlag(QGraphicsItem::ItemIsMovable, true);
|
this->setFlag(QGraphicsItem::ItemIsMovable, true);
|
||||||
this->setFlag(QGraphicsItem::ItemSendsGeometryChanges, true);
|
this->setFlag(QGraphicsItem::ItemSendsGeometryChanges, true);
|
||||||
this->setAcceptHoverEvents(true);
|
this->setAcceptHoverEvents(true);
|
||||||
this->setPos(controlPoint);
|
|
||||||
|
|
||||||
// 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