Ignore:
Timestamp:
May 26, 2010 7:21:24 PM (14 years ago)
Author:
mmc
Message:

Added preview of outputs to the irappture builder. Fixed a problem
with the file chooser for the "save as" dialog. Added a distinction
between errors and warnings when looking for problems in the tool
definition.

Fixed a few problems in RapptureGUI affecting the scroller and the
way it refreshes itself when the frame within it suddenly shrinks.
Fixed the histogram to avoid errors when the histogram data is
empty. Fixed the analyzer so you can create it without setting
the -notebookpage option. All of these errors showed up in the
irappture builder.

File:
1 edited

Legend:

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

    r1550 r1742  
    6767    itcl::delete object $_hist
    6868    # don't destroy the _xmlobj! we don't own it!
    69     blt::vector destroy $_widths $_heights $_locations
     69    if {"" != $_widths} {
     70        blt::vector destroy $_widths
     71    }
     72    if {"" != $_heights} {
     73        blt::vector destroy $_heights
     74    }
     75    if {"" != $_locations} {
     76        blt::vector destroy $_locations
     77    }
    7078}
    7179
     
    155163            error "bad option \"$which\": should be x, xlin, xlog, y, ylin, ylog"
    156164        }
     165    }
     166
     167    if {"" == $vname} {
     168        return {0 1}
    157169    }
    158170    $vname dup tmp
Note: See TracChangeset for help on using the changeset viewer.