Slicer: 2145-support-for-installing-extension-from-file 0175c3ee

Author Committer Branch Timestamp Parent
finetjul finetjul 2145-support-for-installing-extension-from-file 2013-07-15 11:41:09 2145-support-for-installing-extension-from-file a3ef5585
Changeset

BUG: Fix random crash in CLI when writing in output volume node

itkMRMLIDImageIO::Write was triggering node events (such as
vtkMRMLVolumeNode::ImageDataModifiedEvent) in a thread other than
the main thread.
The solution is to catch those events before any observer is notified,
and reschedule those events in the main thread.

Closes 0002915

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

mod - Base/QTCLI/vtkSlicerCLIModuleLogic.cxx Diff File
mod - Libs/MRML/IDImageIO/itkMRMLIDImageIO.cxx Diff File