Changeset 5566 for branches/1.3


Ignore:
Timestamp:
May 19, 2015, 1:11:50 PM (9 years ago)
Author:
ldelgass
Message:

Fix VTK download to nanovis viewer -- in this version, we don't have _current
component, so use first component.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.3/gui/scripts/nanovisviewer.tcl

    r5565 r5566  
    20812081    # VTK file.  To download all components/results, we would need
    20822082    # to put them in an archive (e.g. zip or tar file)
    2083     if { $_first != "" && $_current != "" } {
    2084         set bytes [$_first vtkdata $_current]
     2083    if { $_first != ""} {
     2084        set cname [lindex [$_first components] 0]
     2085        set bytes [$_first vtkdata $cname]
    20852086        return [list .vtk $bytes]
    20862087    }
Note: See TracChangeset for help on using the changeset viewer.