• David Gobbi's avatar
    16130: Fix inconsistency in vtkImageSliceCollection. · a2e13351
    David Gobbi authored
    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.
    a2e13351
vtkImageSliceCollection.cxx 4.36 KB