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

Author Committer Branch Timestamp Parent
jcfr jcfr 2145-support-for-installing-extension-from-file 2013-10-02 22:34:08 2145-support-for-installing-extension-from-file 712b4f7c
Changeset

BUG: Fix vtkObserverManager warning happening after loading a file.

This commit ensured that the observer associated with MRMLNodesCallbackCommand
are removed also if the file is successfully loaded.

Warning: In /home/jchris/Projects/Slicer/Libs/MRML/Core/vtkObserverManager.cxx, line 59
vtkObserverManager (0x3b99ce0): The callback is not deleted because there
are still some observation. They seem to not have been registered into
the event broker.

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

mod - Modules/Loadable/Volumes/Logic/vtkSlicerVolumesLogic.cxx Diff File