Slicer: 490-qMRMLSceneHierarchyModel-avoid-extra-scene-lookup 83929780

Author Committer Branch Timestamp Parent
inorton jcfr 490-qMRMLSceneHierarchyModel-avoid-extra-scene-lookup 2016-05-06 18:47:28 490-qMRMLSceneHierarchyModel-avoid-extra-scene-lookup afc8cba9
Changeset

PERF: qMRMLSceneHierarchyModel: Factor out constant display node lookup

Avoid repeated lookups caused by calls to "GetAssociatedHierarchyNode"
and save a few %

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