diff --git a/src/Mod/Sketcher/App/SketchObject.cpp b/src/Mod/Sketcher/App/SketchObject.cpp index 75353fbe8c..abba314882 100644 --- a/src/Mod/Sketcher/App/SketchObject.cpp +++ b/src/Mod/Sketcher/App/SketchObject.cpp @@ -2142,7 +2142,7 @@ int SketchObject::addSymmetric(const std::vector &geoIdList, int refGeoId, for (std::vector::const_iterator it = geoIdList.begin(); it != geoIdList.end(); ++it) { const Part::Geometry *geo = getGeometry(*it); - Part::Geometry *geosym = geo->clone(); + Part::Geometry *geosym = geo->copy(); // Handle Geometry if(geosym->getTypeId() == Part::GeomLineSegment::getClassTypeId()){ @@ -2404,7 +2404,7 @@ int SketchObject::addSymmetric(const std::vector &geoIdList, int refGeoId, for (std::vector::const_iterator it = geoIdList.begin(); it != geoIdList.end(); ++it) { const Part::Geometry *geo = getGeometry(*it); - Part::Geometry *geosym = geo->clone(); + Part::Geometry *geosym = geo->copy(); // Handle Geometry if(geosym->getTypeId() == Part::GeomLineSegment::getClassTypeId()){ @@ -2729,7 +2729,7 @@ int SketchObject::addCopy(const std::vector &geoIdList, const Base::Vector3 for (std::vector::const_iterator it = geoIdList.begin(); it != geoIdList.end(); ++it) { const Part::Geometry *geo = getGeometry(*it); - Part::Geometry *geocopy = geo->clone(); + Part::Geometry *geocopy = geo->copy(); // Handle Geometry if(geocopy->getTypeId() == Part::GeomLineSegment::getClassTypeId()){