Import 2017-06-07 23:51:09: master 9c1cd45b

Author Committer Branch Timestamp Parent
finetjul finetjul master 2014-03-27 14:44:07 master 9f87b17b
Changeset

BUG: Accept qMRMLSceneModel::updateNodeItems with node with no scene

To have no scene in qMRMLSceneModel::updateNodeItems()) is a valid case.
When closing the scene, the "Close" state is popped and SceneClosedEvent
event is triggered, caught by an observer that eventually modify a
node, such modification is caught by a scene model that has not yet
received teh SceneClosed event. It asks if the scene is closing but it
is no longer (see vtkMRMLScene::EndState())

Closes 0003513

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

mod - Libs/MRML/Widgets/qMRMLSceneModel.cxx Diff File