Changeset 5265


Ignore:
Timestamp:
Apr 17, 2015 8:53:09 PM (6 years ago)
Author:
ldelgass
Message:

merge r5264 from trunk

Location:
branches/1.4
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/1.4

    • Property svn:mergeinfo changed
      /trunkmerged: 5264
  • branches/1.4/gui/scripts/vtkvolumeviewer.tcl

    r5244 r5265  
    20302030        }
    20312031        "set" {
    2032             set who [lindex $args 0]
    2033             set x $_view($who)
     2032            set what [lindex $args 0]
     2033            set x $_view($what)
    20342034            set code [catch { string is double $x } result]
    20352035            if { $code != 0 || !$result } {
    20362036                return
    20372037            }
    2038             switch -- $who {
     2038            switch -- $what {
    20392039                "-ortho" {
    2040                     if {$_view(-ortho)} {
     2040                    if {$_view($what)} {
    20412041                        SendCmd "camera mode ortho"
    20422042                    } else {
     
    20532053                }
    20542054                "-zoom" {
    2055                     SendCmd "camera zoom $_view(-zoom)"
     2055                    SendCmd "camera zoom $_view($what)"
    20562056                }
    20572057            }
Note: See TracChangeset for help on using the changeset viewer.