Ignore:
Timestamp:
Mar 18, 2011 9:01:35 AM (13 years ago)
Author:
mmc
Message:

Oops! Fixed a problem with the "xml" method added to the Tool class for
the regression tester. The base class ControlOwner? already has this method,
so it should not have been added at the Tool level. The Tool's implementation
broke the ordinary workings of the Rappture GUI.

Removed a debug puts statement from XyResult? and updated it to work with
the new CurveValue? objects in addition to the old Curves.

File:
1 edited

Legend:

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

    r2049 r2141  
    729729        foreach elem $label2elem($label) {
    730730            set dataobj $_elem2dataobj($elem)
    731             puts stderr dataobj=$dataobj
    732             scan $dataobj "::curve%d" suffix
     731            regexp {^::curve(?:Value)?([0-9]+)$} $dataobj match suffix
    733732            incr suffix
    734733            set elabel [format "%s \#%d" $label $suffix]
Note: See TracChangeset for help on using the changeset viewer.