Ignore:
Timestamp:
May 17, 2015, 4:33:53 PM (9 years ago)
Author:
ldelgass
Message:

Add VTK download from nano/flowvisviewer

File:
1 edited

Legend:

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

    r5463 r5526  
    13351335        set cname "component"
    13361336    }
     1337    # VTK file data:
     1338    if { [info exists _comp2vtk($cname)] } {
     1339        return $_comp2vtk($cname)
     1340    }
    13371341    # DX: Convert DX to VTK
    13381342    if {[info exists _comp2dx($cname)]} {
    13391343        set data $_comp2dx($cname)
    1340         set data [Rappture::encoding::decode $data]
     1344        set data [Rappture::encoding::decode -as zb64 $data]
    13411345        return [Rappture::DxToVtk $data]
    1342     }
    1343     # VTK file data:
    1344     if { [info exists _comp2vtk($cname)] } {
    1345         return $_comp2vtk($cname)
    13461346    }
    13471347    # Points on mesh:  Construct VTK file output.
Note: See TracChangeset for help on using the changeset viewer.