Changeset 2591 for branches


Ignore:
Timestamp:
Sep 29, 2011 8:00:26 PM (13 years ago)
Author:
gah
Message:

move package require vtk into constructor

Location:
branches/blt4/gui/scripts
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/blt4/gui/scripts/vtkcontourviewer.tcl

    r2537 r2591  
    144144# ----------------------------------------------------------------------
    145145itcl::body Rappture::VtkContourViewer::constructor {hostlist args} {
     146    package require vtk
    146147    # Draw legend event
    147148    $_dispatcher register !legend
  • branches/blt4/gui/scripts/vtkstreamlinesviewer.tcl

    r2534 r2591  
    1515package require BLT
    1616#package require Img
    17 package require vtk
    1817
    1918option add *VtkStreamlinesViewer.width 4i widgetDefault
     
    156155# ----------------------------------------------------------------------
    157156itcl::body Rappture::VtkStreamlinesViewer::constructor {hostlist args} {
     157    package require vtk
    158158    # Rebuild event
    159159    $_dispatcher register !rebuild
  • branches/blt4/gui/scripts/vtkviewer.tcl

    r2537 r2591  
    1515package require BLT
    1616#package require Img
    17 package require vtk
    1817
    1918option add *VtkViewer.width 4i widgetDefault
     
    154153# ----------------------------------------------------------------------
    155154itcl::body Rappture::VtkViewer::constructor {hostlist args} {
     155    package require vtk
    156156    # Rebuild event
    157157    $_dispatcher register !rebuild
Note: See TracChangeset for help on using the changeset viewer.