Skip to content

Add support to VTK_EMPTY_CELL in vtkDataSetSurfaceFilter

Florian Maurin requested to merge florian360/vtk:VTK_EMPTY_CELL into master

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.

Fix paraview/paraview#18641 (closed)

Merge request reports

Loading