Fem: fix crash caused by PropertyPostDataObject::getPyObject()
This commit is contained in:
@@ -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*/)
|
||||
|
||||
Reference in New Issue
Block a user