Slicer: 2145-support-for-installing-extension-from-file f4d06672

Author Committer Branch Timestamp Parent
finetjul finetjul 2145-support-for-installing-extension-from-file 2013-07-21 21:59:19 2145-support-for-installing-extension-from-file 88e1471f
Affected Issues 0003152: Slicer crashes with "Close Scene" and "Application Settings Cancel"
Changeset

BUG: vtkMRMLNode::Reset() should trigger ModifiedEvent if needed

  • Remove the dangerous method
    vtkMRMLNode::CopyWithSceneWithoutModifiedEvent():
    ** Modifying a node should never be silent, at least one ModifiedEvent
    should be triggered.
  • Copying references should not be silent: ModifiedEvent and
    NodeReference*Events should be triggered.

The fix ensures resetting() the selection node triggers at least 1
ModifiedEvent.

Fixes 0003152

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

mod - Libs/MRML/Core/vtkMRMLCoreTestingMacros.h Diff File
mod - Libs/MRML/Core/vtkMRMLNode.cxx Diff File
mod - Libs/MRML/Core/vtkMRMLNode.h Diff File
mod - Libs/MRML/Core/vtkMRMLScene.cxx Diff File
mod - Libs/MRML/Core/vtkMRMLSceneViewNode.cxx Diff File
mod - Libs/MRML/Core/vtkMRMLSliceNode.cxx Diff File