Changeset 5207


Ignore:
Timestamp:
Apr 13, 2015, 9:11:08 PM (5 years ago)
Author:
ldelgass
Message:

remove unused variable/method (leftover from old isomarker)

File:
1 edited

Legend:

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

    r5205 r5207  
    7474    public method get {args}
    7575    public method isconnected {}
    76     public method limits { tf }
    7776    public method parameters {title args} {
    7877        # do nothing
     
    141140                                       ;# to volumes in the server
    142141    private variable _recvdDatasets;    # list of data objs to send to server
    143     private variable _style2datasets;   # maps tf back to list of
    144                                         # dataobj-components using the tf.
    145142
    146143    private variable _reset 1;          # Connection to server has been reset.
     
    14311428                 -command [itcl::code $this updateTransferFunctions]]
    14321429    }
    1433     lappend _style2datasets($cname) $tag
    14341430    return $cname
    14351431}
     
    16021598    $_dispatcher event -idle !send_transfunc
    16031599}
    1604 
    1605 itcl::body Rappture::NanovisViewer::limits { cname } {
    1606     set _limits(min) 0.0
    1607     set _limits(max) 1.0
    1608     if { ![info exists _style2datasets($cname)] } {
    1609         return [array get _limits]
    1610     }
    1611     set min ""; set max ""
    1612     foreach tag [GetDatasetsWithComponent $cname] {
    1613         if { ![info exists _limits($tag)] } {
    1614             continue
    1615         }
    1616         foreach {amin amax} $_limits($tag) break
    1617         if { $min == "" || $min > $amin } {
    1618             set min $amin
    1619         }
    1620         if { $max == "" || $max < $amax } {
    1621             set max $amax
    1622         }
    1623     }
    1624     if { $min != "" } {
    1625         set _limits(min) $min
    1626     }
    1627     if { $max != "" } {
    1628         set _limits(max) $max
    1629     }
    1630     return [list $_limits(min) $_limits(max)]
    1631 }
    1632 
    16331600
    16341601itcl::body Rappture::NanovisViewer::BuildViewTab {} {
Note: See TracChangeset for help on using the changeset viewer.