Skip to content

fix(vtkTableBasedClipDataSet): avoid segfault for no cell poly data

When a vtkPolyData with no cells was passed to vtkTableBasedClipDataSet::CanFullyProcessUnstructuredData this led to a segmentation fault on a vtkPolyData::GetCell.

Checking for no cells beforehand fixes this issue.

Merge request reports