Skip to content

16130: Fix inconsistency in vtkImageSliceCollection.

David Gobbi requested to merge dgobbi/vtk:slice-collection-crash into master

The Bottom member of vtkCollection was not updated if the added slice replaced the previous bottom slice of the collection. This caused an inconsistency in the data structure which could lead to a crash in subsequent operations. I have rewritten the insertion code to reduce its complexity.

This was merged into master a few months ago. Requesting merge into 6.3 and 7.0.

Merge request reports