From 2b0d3477cb5700f5188be0ee5152e50ad6766e9c Mon Sep 17 00:00:00 2001 From: wmayer Date: Sun, 3 Mar 2019 15:51:07 +0100 Subject: [PATCH] fix copy-constructor of Path::Area class --- src/Mod/Path/App/Area.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); }