diff --git a/src/Mod/Path/App/Area.cpp b/src/Mod/Path/App/Area.cpp index aa76a8b6e2..154085c896 100644 --- a/src/Mod/Path/App/Area.cpp +++ b/src/Mod/Path/App/Area.cpp @@ -188,7 +188,7 @@ Area::Area(const Area &other, bool deep_copy) myShape = other.myShape; myShapeDone = other.myShapeDone; mySections.reserve(other.mySections.size()); - for(shared_ptr area:mySections) + for(shared_ptr area:other.mySections) mySections.push_back(make_shared(*area,true)); }