Ignore:
Timestamp:
Aug 27, 2013 12:38:22 PM (8 years ago)
Author:
ldelgass
Message:

Add cutplane visibility button to nanovis viewers.

File:
1 edited

Legend:

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

    r3847 r3899  
    16131613    set font "Arial 8"
    16141614    set lineht [font metrics $font -linespace]
    1615     set c $itk_component(legend)
    16161615    set w 12
    16171616    set h [expr {$_height - 2 * ($lineht + 2)}]
    1618     if { $h < 1} {
     1617    if { $h < 1 } {
    16191618        return
    16201619    }
     
    21322131    $itk_component(zCutScale) set 100
    21332132    $itk_component(zCutScale) configure -state disabled
    2134     #$itk_component(zCutScale) configure -state disabled
    21352133    Rappture::Tooltip::for $itk_component(zCutScale) \
    21362134        "@[itcl::code $this Slice tooltip z]"
     
    26602658        "move" {
    26612659            set axis [lindex $args 0]
    2662             set oldval $_axis(${axis}position)
    26632660            set newval [lindex $args 1]
    26642661            if {[llength $args] != 2} {
Note: See TracChangeset for help on using the changeset viewer.