Ignore:
Timestamp:
Feb 28, 2012 9:56:44 AM (12 years ago)
Author:
gah
Message:

move "package require vtk" into constructor so that applications do not have to load vtk to use Rappture widgets

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gui/scripts/vtkvolumeviewer.tcl

    r2758 r2792  
    1515package require BLT
    1616#package require Img
    17 package require vtk
    1817
    1918option add *VtkVolumeViewer.width 4i widgetDefault
     
    168167# ----------------------------------------------------------------------
    169168itcl::body Rappture::VtkVolumeViewer::constructor {hostlist args} {
     169    package require vtk
    170170    set _serverType "vtkvis"
    171171
Note: See TracChangeset for help on using the changeset viewer.