Skip to content

Avoid integer overflow in vtkQuadricClustering

David Gobbi requested to merge dgobbi/vtk:quadric-clustering-idx into master

The vtkQuadricClustering algorithm would overflow when compiled with VTK_USE_64BIT_IDS=OFF, because it would store huge integer values in a std::set<vtkIdType>. This was noted in particular with vtkQuadricLODActor, which consistently caused overflow. A 64-bit integer is needed.

Merge request reports