Skip to content

Prevent crash of vtkCellLocator when input data has no cells

Andras Lasso requested to merge lassoan/vtk:fix-cell-locator-crash into master

vtkCellLocator caused our application to crash because the input data set did not happen to have any cells in it. Added checks to the class so that public methods return with error or empty selection instead of crashing.

Merge request reports