Import 2017-06-07 23:51:09: master 029ee221
Author | Committer | Branch | Timestamp | Parent |
---|---|---|---|---|
lassoan | lassoan | master | 2016-06-19 01:57:13 | master f4ae105a |
Changeset | BUG: Removed crashing vtkMRMLSliceNode::SetSliceToRAS method Using vtkCxxSetObjectMacro on a vtkSmartPointer-based variable always crashes. There was an option to either change SliceToRAS to a simple pointer and still allow users to set the pointer from outside, but object ownership would not have been very clear, several NULL-pointer checks should have been included; and already ->GetSliceToRAS()->DeepCopy(...) us used in Slicer core to modify the variable everywhere in the Slicer core and it is better not to have different mechanisms for the same purpose. git-svn-id: http://svn.slicer.org/Slicer4/trunk@25199 3bd1e089-480b-0410-8dfb-8563597acbee |
|||
mod - Libs/MRML/Core/Testing/vtkMRMLSliceNodeTest1.cxx | Diff File | |||
mod - Libs/MRML/Core/vtkMRMLSliceNode.cxx | Diff File | |||
mod - Libs/MRML/Core/vtkMRMLSliceNode.h | Diff File | |||
mod - Libs/MRML/Logic/vtkMRMLSliceLinkLogic.cxx | Diff File |