Skip to content

Don't pass subject for Python DeleteEvent

David Gobbi requested to merge dgobbi/vtk:python-delete-command into master

When Python observed a VTK DeleteEvent, it called GetObjectFromPointer() to try to get (or make) a Python object for the vtkObject that invoked the event. Obviously if a vtkObject is being deleted, we do not want to create a new Python object that references it. So instead we pass None as the subject of DeleteEvent.

Merge request reports