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

Author Committer Branch Timestamp Parent
finetjul finetjul master 2014-05-21 11:38:38 master 20cd8881
Changeset

BUG: Fix crash with vtkMRMLSelectionNode and vtkSlicerUnitsLogic

Since r23192, the GetUnitNodes() can return empty nodes.
This triggered asserts in vtkSlicerUnitsLogic.
vtkSlicerUnitLogic is only interested in unit quantities and IDs.

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

mod - Libs/MRML/Core/vtkMRMLNode.cxx Diff File
mod - Libs/MRML/Core/vtkMRMLNode.h Diff File
mod - Libs/MRML/Core/vtkMRMLSelectionNode.cxx Diff File
mod - Libs/MRML/Core/vtkMRMLSelectionNode.h Diff File
mod - Modules/Loadable/Units/Logic/vtkSlicerUnitsLogic.cxx Diff File