Sketcher: Adapt Typed Facade to new behaviour of automatic taking ownership of emplaced pointer

This commit is contained in:
Abdullah Tahiri
2021-12-26 10:58:55 +01:00
committed by abdullahtahiriyo
parent b3e4d9589d
commit cc86461c3b

View File

@@ -123,6 +123,8 @@ SketchObject::SketchObject()
VLine->setConstruction(true);
ExternalGeo.push_back(HLine->getGeometry());
ExternalGeo.push_back(VLine->getGeometry());
HLine->setOwner(false); // we have transferred the ownership to ExternalGeo
VLine->setOwner(false); // we have transferred the ownership to ExternalGeo
rebuildVertexIndex();
lastDoF=0;