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

Author Committer Branch Timestamp Parent
lassoan lassoan master 2015-03-08 00:34:56 master 139c902a
Changeset

BUG: Fixed crash in CropVolumeSelfTest

vtkImageData observer was not removed when vtkMRMLScalarVolumeNode::SetAndObserveImageData(NULL) was called.
This caused crash when Modified() was called on the vtkImageData because the target object of the observation (vtkTrivialProducer) is deleted by this->SetImageDataConnection(0).

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

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