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

Author Committer Branch Timestamp Parent
jcfr jcfr master 2014-09-17 18:28:42 master eddcd201
Changeset

ENH: Simplify vtkMRMLFiberBundleNode::Add(Line/Tube/Glyph)DisplayNode methods

This commit update the functions Add(Line/Tube/Glyph)DisplayNode methods
to return null if no scene has been set. Doing so will prevent memory leak
ensuring new node are always added to the scene.

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

mod - Modules/Loadable/TractographyDisplay/MRML/vtkMRMLFiberBundleNode.cxx Diff File