IndeX: fix invalid delete of vtkSmartPointer
Delete() was being called on a vtkSmartPointer. Set the smart pointer to nullptr instead. Change assignment to the smart pointer to a call to TakeReference().
Delete() was being called on a vtkSmartPointer. Set the smart pointer to nullptr instead. Change assignment to the smart pointer to a call to TakeReference().