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

Author Committer Branch Timestamp Parent
finetjul finetjul 2145-support-for-installing-extension-from-file 2012-12-31 06:54:11 2145-support-for-installing-extension-from-file 5577c3a3
Changeset

ENH: Speedup Annotations: remove unnecessary scene browsing

Checking if there is at least 1 node of type m_Focus in the scene is
costly.
When there is at least 1 node, the scene was getting browsed twice, once
in that step and once again later in the code.

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

mod - Modules/Loadable/Annotations/MRMLDisplayableManager/vtkMRMLAnnotationDisplayableManager.cxx Diff File