Import 2017-06-07 23:51:09: master 524a0b76

Author Committer Branch Timestamp Parent
jcfr jcfr master 2015-03-13 22:49:03 master 402e4844
Changeset

ENH: Update SetAndObserveObject to display a warning if setting same object

This commit updates "SetAndObserveObject" to display a warning
if setting the same node again. The behavior is now consistent with
the function "SetAndObserveObjectEvents".

The function slicer logics and display node are also
updated to avoid such warning.

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

mod - Libs/MRML/Core/vtkMRMLDisplayNode.cxx Diff File
mod - Libs/MRML/Core/vtkObserverManager.cxx Diff File
mod - Libs/MRML/Logic/vtkMRMLSliceLayerLogic.cxx Diff File
mod - Libs/MRML/Logic/vtkMRMLSliceLogic.cxx Diff File