Ignore:
Timestamp:
May 21, 2011, 12:25:01 PM (13 years ago)
Author:
mmc
Message:

Fixed a problem with the Histogram viewer that happens when you have
an empty histogram with no data. This happens, for example, when you
use a histogram in the builder and then preview your interface. Could
happen in real programs too. It's fixed now to skip over empty data.

File:
1 edited

Legend:

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

    r2237 r2255  
    690690        set yv [$dataobj heights]
    691691        set zv [$dataobj widths]
     692        if {$xv eq "" || $yv eq "" || $zv eq ""} {
     693            continue
     694        }
    692695       
    693696        if {[info exists _dataobj2color($dataobj)]} {
Note: See TracChangeset for help on using the changeset viewer.