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

Author Committer Branch Timestamp Parent
lassoan lassoan master 2017-06-01 12:32:28 master 1b1b2209
Changeset

ENH: Segmentation master representation is not changed during import

When a model or lablemap node was imported into segmentation node and the master representation
did not match the type of the imported node, the master representation of the segmentation was changed.
This behavior was not desirable, because it forced temporarily switching representation of all the nodes
in the existing segmentation to something else, resulting in some potential loss of details.

Changed behavior so that the imported node representation is changed during import (existing
segments in the segmentation node are not changed in any way).

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

mod - Modules/Loadable/Segmentations/Logic/vtkSlicerSegmentationsModuleLogic.cxx Diff File
mod - Modules/Loadable/Segmentations/Resources/UI/qSlicerSegmentationsModule.ui Diff File
mod - Modules/Loadable/Segmentations/qSlicerSegmentationsModuleWidget.cxx Diff File
mod - Modules/Loadable/Segmentations/qSlicerSegmentationsModuleWidget.h Diff File