Fem: fix crash caused by PropertyPostDataObject::getPyObject()

This commit is contained in:
wmayer
2022-02-02 16:34:30 +01:00
parent 2680699615
commit eedc96b9fd

View File

@@ -108,7 +108,7 @@ int PropertyPostDataObject::getDataType() {
PyObject *PropertyPostDataObject::getPyObject(void)
{
//TODO: fetch the vtk python object from the data set and return it
return new PyObject();
return Py::new_reference_to(Py::None());
}
void PropertyPostDataObject::setPyObject(PyObject * /*value*/)