Slicer: 2145-support-for-installing-extension-from-file 28f59f77

Author Committer Branch Timestamp Parent
naucoin naucoin 2145-support-for-installing-extension-from-file 2013-09-19 13:43:30 2145-support-for-installing-extension-from-file 0311b046
Changeset

BUG: fix crash on exit for py_MarkupsSceneViewRestoreTestManyLists

On some runs of the py_MarkupsSceneViewRestoreTestManyLists test, the
volume rendering displayable manager would trigger a segmentation
fault when it was being deleted on exit. It came from requesting
a render after setting and observing the NULL displayable node.
Added a test for a null node and if true don't request a render.
Tested via the GUI and ran the volume rendering tests.

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

mod - Libs/MRML/DisplayableManager/vtkMRMLAbstractDisplayableManager.cxx Diff File