Changing curved path settings should not trigger visibility of control points.

develop
Roman Telezhynskyi 2024-04-17 17:55:02 +03:00
parent b78adf9264
commit 1394204c65
1 changed files with 1 additions and 1 deletions

View File

@ -82,10 +82,10 @@ VControlPointSpline::VControlPointSpline(const vsizetype &indexSpline, SplinePoi
{
Init();
this->setPos(controlPoint);
this->setFlag(QGraphicsItem::ItemIsMovable, true);
this->setFlag(QGraphicsItem::ItemSendsGeometryChanges, true);
this->setAcceptHoverEvents(true);
this->setPos(controlPoint);
// Do not draw control point in constructor. It creates artefacts if they enabled from start.
}