diff --git a/src/Mod/Sketcher/Gui/DrawSketchHandlerOffset.h b/src/Mod/Sketcher/Gui/DrawSketchHandlerOffset.h index dd82b3a05d..355524ce38 100644 --- a/src/Mod/Sketcher/Gui/DrawSketchHandlerOffset.h +++ b/src/Mod/Sketcher/Gui/DrawSketchHandlerOffset.h @@ -960,11 +960,6 @@ private: for (auto& CC : vCC) { BRepBuilderAPI_MakeWire mkWire; - if (CC.size() > 1) { - // The element to become the new first element is the last one. - // The iterator to this element is one before the end. - std::rotate(CC.begin(), CC.end() - 1, CC.end()); - } for (auto& curveId : CC) { const Part::Geometry* pGeo = Obj->getGeometry(curveId); auto geoCopy = std::unique_ptr(pGeo->copy());