Changeset 3250


Ignore:
Timestamp:
Jan 9, 2013, 5:53:19 PM (12 years ago)
Author:
gah
Message:

remove extraneous server commands on initialization

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/Rappture 1.2/gui/scripts/vtkheightmapviewer.tcl

    r3249 r3250  
    23112311        -lighting 1
    23122312        -linewidth 1.0
    2313         -opacity 1.0
    23142313        -levels 10
    23152314        -visible 1
    2316         -wireframe 0
    2317         -isolinecolor red
    23182315    }
    23192316    set style [$dataobj style $comp]
     
    23282325    }
    23292326    $itk_component(palette) value $settings(-color)
    2330     $itk_component(isolinecolor) value $settings(-isolinecolor)
    23312327    set _numContours $settings(-levels)
    23322328    set scale [GetHeightmapScale]
    23332329    SendCmd "heightmap add numcontours $settings(-levels) $scale $tag"
    23342330    set _comp2scale($tag) $_settings(heightmap-scale)
    2335     SendCmd "heightmap edges $settings(-edges) $tag"
    2336     set _settings(contour-edges) $settings(-edges)
    2337     SendCmd "heightmap lighting $settings(-lighting) $tag"
    2338     set _settings(contour-lighting) $settings(-lighting)
    2339     SendCmd "heightmap linecolor [Color2RGB $settings(-edgecolor)] $tag"
    2340     SendCmd "heightmap linewidth $settings(-linewidth) $tag"
    2341     SendCmd "heightmap opacity $settings(-opacity) $tag"
    2342     set _settings(contour-opacity) $settings(-opacity)
    2343     SendCmd "heightmap wireframe $settings(-wireframe) $tag"
    2344     set _settings(contour-wireframe) $settings(-wireframe)
    2345     set _settings(contour-opacity) [expr $settings(-opacity) * 100.0]
     2331    SendCmd "heightmap edges $_settings(contour-edges) $tag"
     2332    SendCmd "heightmap lighting $_settings(contour-lighting) $tag"
     2333    SendCmd "heightmap wireframe $_settings(contour-wireframe) $tag"
    23462334    SetColormap $dataobj $comp
    23472335}
Note: See TracChangeset for help on using the changeset viewer.