Import 2017-06-07 23:51:09: master 1c08ec55

Author Committer Branch Timestamp Parent
jcfr jcfr master 2015-05-01 14:44:45 master 2a8dd102
Changeset

BUG: Editor: Ensure label map is updated each time a master volume is selected

Before the commit, the following was failing:
(1) Go to SampleData -> Load MRHead
(2) Go to Editor -> Create GenericAnatomyColors label map
(3) Go to SampleData -> Load CTACardio
(4) Go to Editor -> Select CTACardio master volume -> Create GenericAnatomyColors label map
(5) Select MRHead master volume, select CTACardio master volume
-> Popup message with "Warning: Geometry of master and merge volumes do not match."
-> Label map associated with CTACardio is not selected

Note also that this problem is independent of commit r24202 (BUG: Pattern
matching for label volume does not account for underscore)

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

mod - Modules/Scripted/EditorLib/HelperBox.py Diff File