From 111a13a5784e689a473b76e5878e899d547d96dd Mon Sep 17 00:00:00 2001 From: wmayer Date: Sat, 29 Sep 2018 21:36:07 +0200 Subject: [PATCH] fix GeometryPy::setConstruction --- src/Mod/Part/App/GeometryPyImp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Part/App/GeometryPyImp.cpp b/src/Mod/Part/App/GeometryPyImp.cpp index 736ee72780..5ccd9ed732 100644 --- a/src/Mod/Part/App/GeometryPyImp.cpp +++ b/src/Mod/Part/App/GeometryPyImp.cpp @@ -219,7 +219,7 @@ Py::Boolean GeometryPy::getConstruction(void) const void GeometryPy::setConstruction(Py::Boolean arg) { - if(getGeometryPtr()->getClassTypeId() != Part::GeomPoint::getClassTypeId()) + if (getGeometryPtr()->getTypeId() != Part::GeomPoint::getClassTypeId()) getGeometryPtr()->Construction = arg; }