Import 2017-06-07 23:51:09: master 1c7e55b9

Author Committer Branch Timestamp Parent
jcfr jcfr master 2015-03-11 09:52:15 master 3340f0d0
Changeset

BUG: Support loading of SliceViewAnnotation if loadable module are disabled

This commit tweak SliceViewAnnotation to detect if 'vtkPVScalarBarActor'
is available independently of VTKv5, this will avoid runtime error when
starting Slicer with option "--disable-builtin-loadable-modules". This
option could be used to collect "startup time" performance stats as
detailed in [1]

[1] http://wiki.slicer.org/slicerWiki/index.php/Documentation/Labs/StartupTimeImprovement

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

mod - Modules/Scripted/DataProbe/DataProbeLib/SliceViewAnnotations.py Diff File