Slicer: 490-qMRMLSceneHierarchyModel-avoid-extra-scene-lookup 9e13b7ec

Author Committer Branch Timestamp Parent
jcfr jcfr 490-qMRMLSceneHierarchyModel-avoid-extra-scene-lookup 2016-05-06 18:16:01 490-qMRMLSceneHierarchyModel-avoid-extra-scene-lookup 565a2dd7
Changeset

PERF: qMRMLSceneDisplayableModel: Factor out constant display node lookup.

This whole section of code is confusing and seems redundant, but it has
been refactored many times and everyone left it there so leave alone.
For now we can at least avoid repeated lookups and save a few %.

From: Isaiah Norton <inorton@bwh.harvard.edu>

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

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