Slicer: 2145-support-for-installing-extension-from-file 39e11e1f

Author Committer Branch Timestamp Parent
naucoin naucoin 2145-support-for-installing-extension-from-file 2013-01-28 15:32:25 2145-support-for-installing-extension-from-file 582448a5
Changeset

BUG: don't allow a hierarchy node to set itself as parent

Infinite loops in the tree views were resulting when hierarchy nodes
erroneously set their parent node id to be their own id. Printing
an error message and returning allows for easier debugging.

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

mod - Libs/MRML/Core/vtkMRMLHierarchyNode.cxx Diff File