- Timestamp:
- Apr 25, 2015, 3:40:43 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/field.tcl
r5159 r5317 376 376 set cname "component" 377 377 } 378 if {[info exists _comp2xy($cname)]} {379 return ""380 }381 if { [info exists _comp2vtk($cname)] } {382 error "blob not implemented for VTK file data"383 }384 378 if {[info exists _comp2dx($cname)]} { 385 379 return $_comp2dx($cname) ;# return gzipped, base64-encoded DX data … … 392 386 if {[info exists _comp2unirect3d($cname)]} { 393 387 return [$_comp2unirect3d($cname) blob] 388 } 389 if { [info exists _comp2vtk($cname)] } { 390 error "blob not implemented for VTK file data" 391 } 392 if {[info exists _comp2xy($cname)]} { 393 error "blob not implemented for XY data" 394 394 } 395 395 error "can't get field blob: Unknown component \"$cname\": should be one of [join [lsort [array names _comp2dims]] {, }]"
Note: See TracChangeset
for help on using the changeset viewer.