Ignore:
Timestamp:
Feb 28, 2012, 9:56:44 AM (13 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/vtkheightmapviewer.tcl

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