Refactoring.
--HG-- branch : develop
This commit is contained in:
parent
919633440f
commit
502882ec70
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user