forked from Slicer/SlicerGitSVNArchive
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BUG: Improve segment deep copy to separate shared labelmaps
When copying labelmap representations between segments, all values in the labelmap were previously copied. This commit changes vtkSegment::DeepCopy to only copy the label value of the source segment. Reimplements r28672 with some additional changes to ensure that DeepCopy is not used in vtkSegmentationHistory. This ensures that Undo/Redo behavior is not affected. git-svn-id: http://svn.slicer.org/Slicer4/trunk@28687 3bd1e089-480b-0410-8dfb-8563597acbee
- Loading branch information
Showing
3 changed files
with
43 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters