Sketcher: Adapt Typed Facade to new behaviour of automatic taking ownership of emplaced pointer
This commit is contained in:
committed by
abdullahtahiriyo
parent
b3e4d9589d
commit
cc86461c3b
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user