Part: Geometry - encapsulate construction access
This commit is contained in:
@@ -455,13 +455,13 @@ PyObject* GeometryPy::getExtensions(PyObject *args)
|
||||
|
||||
Py::Boolean GeometryPy::getConstruction(void) const
|
||||
{
|
||||
return Py::Boolean(getGeometryPtr()->Construction);
|
||||
return Py::Boolean(getGeometryPtr()->getConstruction());
|
||||
}
|
||||
|
||||
void GeometryPy::setConstruction(Py::Boolean arg)
|
||||
{
|
||||
if (getGeometryPtr()->getTypeId() != Part::GeomPoint::getClassTypeId())
|
||||
getGeometryPtr()->Construction = arg;
|
||||
getGeometryPtr()->setConstruction(arg);
|
||||
}
|
||||
|
||||
Py::String GeometryPy::getTag(void) const
|
||||
|
||||
Reference in New Issue
Block a user