Changeset 2749


Ignore:
Timestamp:
Jan 3, 2012 11:32:08 PM (12 years ago)
Author:
ldelgass
Message:

Set default cutplane slice to center (ratio=0.5) to match slider default

Location:
trunk/gui/scripts
Files:
3 edited

Legend:

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

    r2744 r2749  
    24432443    #SendCmd "cutplane visible $tag"
    24442444    foreach axis { x y z } {
    2445         #SendCmd "cutplane slice $axis 1.0 $tag"
     2445        #SendCmd "cutplane slice $axis 0.5 $tag"
    24462446        #SendCmd "cutplane axis $axis 0 $tag"
    24472447    }
  • trunk/gui/scripts/vtkstreamlinesviewer.tcl

    r2744 r2749  
    25452545    #SendCmd "cutplane visible $tag"
    25462546    foreach axis { x y z } {
    2547         SendCmd "cutplane slice $axis 1.0 $tag"
     2547        SendCmd "cutplane slice $axis 0.5 $tag"
    25482548        SendCmd "cutplane axis $axis 0 $tag"
    25492549    }
  • trunk/gui/scripts/vtkvolumeviewer.tcl

    r2744 r2749  
    23632363    #SendCmd "cutplane visible $tag"
    23642364    foreach axis { x y z } {
    2365         SendCmd "cutplane slice $axis 1.0 $tag"
     2365        SendCmd "cutplane slice $axis 0.5 $tag"
    23662366        SendCmd "cutplane axis $axis 0 $tag"
    23672367    }
Note: See TracChangeset for help on using the changeset viewer.