Ignore:
Timestamp:
Feb 9, 2015 10:05:54 AM (9 years ago)
Author:
ldelgass
Message:

sync minor change from trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.4/gui/scripts/nanovisviewer.tcl

    r4772 r4988  
    590590                if { ![info exists _limits($axis)] } {
    591591                    set _limits($axis) [list $min $max]
    592                 } else {
    593                     foreach {amin amax} $_limits($axis) break
    594                     if {$min < $amin} {
    595                         set amin $min
    596                     }
    597                     if {$max > $amax} {
    598                         set amax $max
    599                     }
    600                     set _limits($axis) [list $amin $amax]
     592                    continue
    601593                }
     594                foreach {amin amax} $_limits($axis) break
     595                if {$min < $amin} {
     596                    set amin $min
     597                }
     598                if {$max > $amax} {
     599                    set amax $max
     600                }
     601                set _limits($axis) [list $amin $amax]
    602602            }
    603603        }
Note: See TracChangeset for help on using the changeset viewer.