Changeset 752 for trunk/gui/scripts


Ignore:
Timestamp:
May 30, 2007, 12:19:11 AM (17 years ago)
Author:
dkearney
Message:

added use of RPENC_HDR flag in decode function so users can give the RPENC_Z and RPENC_B64 flags and tell the decode function to only use those flags
if the header does not say how to treat the data.

in library.tcl, added a -decode flag set to yes by default. this flag allows the user to tell if they want the data to be automatically decoded when
it is retrieved from the xmlobj. this is paricaularly useful for dx data held within a field where we do not want the data automatcially decoded.

added the -decode no flag to dx data being retrieved from fields

updated nanovis.cpp with capability to decode data with the new @@RP-ENC: style headers.

File:
1 edited

Legend:

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

    r738 r752  
    639639            #
    640640            set _comp2dims($cname) "3D"
    641             set _comp2dx($cname) [$_field get $cname.dx]
     641            set _comp2dx($cname) [$_field get -decode no $cname.dx]
    642642            set _comp2style($cname) [$_field get $cname.style]
    643643            incr _counter
Note: See TracChangeset for help on using the changeset viewer.