Changeset 5612 for trunk/gui/scripts/flowvisviewer.tcl
- Timestamp:
- May 27, 2015, 3:24:03 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/flowvisviewer.tcl
r5599 r5612 1139 1139 foreach cname [$dataobj components] { 1140 1140 set tag $dataobj-$cname 1141 set isvtk 0 1142 # FIXME: Would like to use the type method of the dataobj 1143 # but the returned value isn't well defined now 1144 if {[catch { 1145 # Send the data as one huge base64-encoded mess -- yuck! 1141 if {[$dataobj type] == "dx"} { 1146 1142 set data [$dataobj blob $cname] 1147 } ]}{1143 } else { 1148 1144 set data [$dataobj vtkdata $cname] 1149 set isvtk 11150 1145 } 1151 1146 set nbytes [string length $data]
Note: See TracChangeset
for help on using the changeset viewer.