From 561c48acc5ddfad52be39d77343d7cbfff479c75 Mon Sep 17 00:00:00 2001 From: "Zheng, Lei" Date: Wed, 14 Jun 2017 14:45:42 +0800 Subject: [PATCH] Path.Area: deep copy on makeSection output --- src/Mod/Path/App/AreaPyImp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Path/App/AreaPyImp.cpp b/src/Mod/Path/App/AreaPyImp.cpp index 1be34defcd..dbf3204119 100644 --- a/src/Mod/Path/App/AreaPyImp.cpp +++ b/src/Mod/Path/App/AreaPyImp.cpp @@ -365,7 +365,7 @@ PyObject* AreaPy::makeSections(PyObject *args, PyObject *keywds) Py::List ret; for(auto &area : sections) - ret.append(Py::asObject(new AreaPy(new Area(*area,false)))); + ret.append(Py::asObject(new AreaPy(new Area(*area,true)))); return Py::new_reference_to(ret); }