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.
Should fix #18711 (closed)
backport
Edited by Julien Fausty