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

Author Committer Branch Timestamp Parent
lassoan lassoan 2145-support-for-installing-extension-from-file 2013-11-06 14:56:48 2145-support-for-installing-extension-from-file 2ef602d7
Changeset

BUG: Fixed volume rendering presets issue (presets were not displayed)

The scene model RowCache was temporarily outdated during node insertion. If the cache was accessed during node insertion, the qMRMLSceneModel::indexFromNode method indicated that the node doesn't exist yet.
Fixed by adding an entry to the cache with the node-to-be-added, which results in not using the cache to determine if the node exists or not but uses the traditional way of iterating through all the items.

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

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