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; }