Add support to VTK_EMPTY_CELL in vtkDataSetSurfaceFilter
See paraview/paraview#18641 (closed)
The problem was that when a VTK_EMPTY_CELL
cell is selected in the spreadsheet view, the number of point is 0, and so QuadHash
in vtkDataSetSurfaceFilter
is empty.
In vtkDataSetSurfaceFilter::InitQuadHashTraversal
, we were trying to access to QuadHash[0]
to initialize QuadHashTraversal
. QuadHashTraversal
is now set to nullptr if we don't have points.