Changeset 2605 for trunk


Ignore:
Timestamp:
Oct 6, 2011, 12:32:56 PM (13 years ago)
Author:
gah
Message:
 
File:
1 edited

Legend:

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

    r2604 r2605  
    10391039    $itk_component(field) value $_currentField
    10401040
    1041     InitSettings streamlines-seeds streamlines-visible streamlines-opacity \
    1042         streamlines-numpoints streamlines-lighting streamlines-palette \
    1043         volume-edges volume-lighting volume-opacity volume-visible \
    1044         volume-wireframe \
    1045         cutplane-xvisible cutplane-yvisible cutplane-zvisible \
    1046         cutplane-xposition cutplane-yposition cutplane-zposition
    1047 
    1048     if { $_reset || $_first == "" } {
     1041    InitSettings streamlines-visible streamlines-palette volume-visible
     1042
     1043    if { $_reset } {
     1044        InitSettings streamlines-seeds streamlines-opacity \
     1045            streamlines-numpoints streamlines-lighting \
     1046            streamlines-palette streamlines-field \
     1047            volume-edges volume-lighting volume-opacity volume-wireframe \
     1048            cutplane-xvisible cutplane-yvisible cutplane-zvisible \
     1049            cutplane-xposition cutplane-yposition cutplane-zposition
    10491050        Zoom reset
    10501051        set _reset 0
     
    14731474            set new [$itk_component(field) value]
    14741475            set value [$itk_component(axismode) translate $new]
    1475             puts stderr "streamlines-field old field=$_currentField new field = $new value=$value"
    14761476            set _settings(streamlines-field) $value
    14771477            if { [info exists _scalarFields($new)] } {
     
    14901490            }
    14911491            foreach dataset [CurrentDatasets -visible] {
    1492                 puts stderr "dataset ${fieldType} ${name} $dataset"
    1493                 puts stderr "streamlines colormode $_colorMode $dataset"
    1494                 puts stderr "cutplane colormode $_colorMode $dataset"
    14951492                SendCmd "dataset ${fieldType} ${name} $dataset"
    14961493                SendCmd "streamlines colormode $_colorMode $dataset"
Note: See TracChangeset for help on using the changeset viewer.