Import 2017-06-07 23:51:09: master 33bd9c04

Author Committer Branch Timestamp Parent
lassoan lassoan master 2016-08-25 17:53:48 master dfabf733
Changeset

BUG: Fixed crash on exit

qSlicerLabelMapVolumeDisplayWidgetPrivate::VolumeNode pointer has become invalid during scene close and caused crash.

In general, widgets should never use simple pointers to refer to MRML nodes, as nodes may be deleted any time and the widget may not get notified about it while the scene is closing.

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

mod - Modules/Loadable/Volumes/Widgets/qSlicerLabelMapVolumeDisplayWidget.cxx Diff File