fix GeometryPy::setConstruction

This commit is contained in:
wmayer
2018-09-29 21:36:07 +02:00
parent 75013d3db8
commit 111a13a578

View File

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