Skip to content

Fix vtkCutter issue with large polyhedrons (>512 vertices)

Fixes Issue #18214 (closed) vtkCutter's UnstructuredGridCutter method was allocating cellScalars an array of fixed size (enum VTK_CELL_SIZE) - this would lead to a crash when the input dataset has cells with more than 512 vertices. The fix finds out the maximum cell size in the input dataset and uses it to allocate enough space for the array @mwestphal please review the code/MR

Fix #18214 (closed)

Edited by Mathieu Westphal (Kitware)

Merge request reports