Do not send geometry changes when set control point line. ref #842.
--HG-- branch : develop
This commit is contained in:
parent
b1d33aa2c6
commit
56780fa337
|
@ -276,8 +276,10 @@ void VControlPointSpline::SetCtrlLine(const QPointF &controlPoint, const QPointF
|
||||||
VGObject::LineIntersectCircle(QPointF(), ScaledRadius(SceneScale(scene())),
|
VGObject::LineIntersectCircle(QPointF(), ScaledRadius(SceneScale(scene())),
|
||||||
QLineF( QPointF(), splinePoint-controlPoint), p1, p2);
|
QLineF( QPointF(), splinePoint-controlPoint), p1, p2);
|
||||||
QLineF line(splinePoint-controlPoint, p1);
|
QLineF line(splinePoint-controlPoint, p1);
|
||||||
|
controlLine->setFlag(QGraphicsItem::ItemSendsGeometryChanges, false);
|
||||||
controlLine->setLine(line);
|
controlLine->setLine(line);
|
||||||
controlLine->setVisible(not line.isNull());
|
controlLine->setVisible(not line.isNull());
|
||||||
|
controlLine->setFlag(QGraphicsItem::ItemSendsGeometryChanges, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue
Block a user