Import 2017-06-07 23:51:09: master 5a954215

Author Committer Branch Timestamp Parent
naucoin naucoin master 2015-07-07 13:54:22 master 1721c0ef
Affected Issues 0003956: Repeated saves of MRBs cause corruption
Changeset

BUG: fix moving volume nodes from test to main scene

In testing the Reporting extension, a bug was found where error messages were
being printed and the volume node had it's IJK to RAS matrix reset to identity.
Removing the nodes from the test scene before adding them to the main scene
seems to have fixed this, all relevant tests are passing now.
This change removes the following error messages:
GetNodeByID: Node is in the scene, but its ID is missing from the NodeIDs cache: vtkMRMLScalarVolumeNode3
ditto for vtkMRMLScalarVolumeDisplayNode2 and vtkMRMLVolumeArchetypeStorageNode2
and fixes the test py_ReportingRoundTripTest

Issue 0003956

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

mod - Modules/Loadable/Volumes/Logic/vtkSlicerVolumesLogic.cxx Diff File