Import 2017-06-07 23:51:09: master a28d0954

Author Committer Branch Timestamp Parent
pinter pinter master 2016-09-13 14:44:07 master 3d0b86e6
Changeset

BUG: Fixed undeterministic behaviour of segment SH removal

When the subject hierarchy node of a segment was removed, then it depended on the order of the onNodeAboutToBeRemoved function calls whether removal of the virtual segmentation branch containing the segment subject hierarchy nodes was successful. This change fixes this problem by using a similar logic as in data module logic that is responsible for removing the associated display and storage nodes for a removed node.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@25354 3bd1e089-480b-0410-8dfb-8563597acbee

mod - Libs/vtkSegmentationCore/vtkSegmentation.cxx Diff File
mod - Modules/Loadable/Data/Logic/vtkSlicerDataModuleLogic.cxx Diff File
mod - Modules/Loadable/Segmentations/qSlicerSegmentationsModule.cxx Diff File
mod - Modules/Loadable/Segmentations/qSlicerSegmentationsModule.h Diff File