Import 2017-06-07 23:51:09: master 88b42c12

Author Committer Branch Timestamp Parent
lassoan lassoan master 2016-09-22 17:14:50 master 9e68f5d3
Changeset

PERF: Improve model update performance

Model module's widget computed model surface, volume, etc. every time the model changed, even when the module info section was not visible.
This cause a significant overhead when replaying changing models using Sequences module.
Applied a similar technique as for transforms info: only compute model properties when the window content is actually visible.

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

mod - Libs/MRML/Widgets/qMRMLModelInfoWidget.cxx Diff File
mod - Libs/MRML/Widgets/qMRMLModelInfoWidget.h Diff File