Refactoring.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2018-01-16 19:32:38 +02:00
parent 919633440f
commit 502882ec70

View File

@ -1668,8 +1668,9 @@ void VPattern::ParseNodePoint(const QDomElement &domElement, const Document &par
return;// Just ignore return;// Just ignore
} }
QSharedPointer<VPointF> p(new VPointF(static_cast<QPointF>(*point), point->name(), mx, my, initData.idObject, QSharedPointer<VPointF> p(new VPointF(*point));
Draw::Modeling)); p->setIdObject(initData.idObject);
p->setMode(Draw::Modeling);
p->SetShowLabel(GetParametrBool(domElement, AttrShowLabel, trueStr)); p->SetShowLabel(GetParametrBool(domElement, AttrShowLabel, trueStr));
initData.data->UpdateGObject(initData.id, p); initData.data->UpdateGObject(initData.id, p);