Changeset 2632


Ignore:
Timestamp:
Oct 14, 2011, 1:21:33 PM (13 years ago)
Author:
ldelgass
Message:

Write temp VTK file as binary in VtkViewer::limits

Location:
trunk/gui/scripts
Files:
2 edited

Legend:

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

    r2623 r2632  
    14871487                set name $_scalarFields($new)
    14881488                set _colorMode scalar
    1489                 set fieldType scalar
    14901489                set _currentField $new
    14911490            } elseif { [info exists _vectorFields($new)] } {
    14921491                set name $_vectorFields($new)
    14931492                set _colorMode vmag
    1494                 set fieldType vector
    14951493                set _currentField $new
    14961494            } else {
     
    18491847            set tmpfile file[pid].vtk
    18501848            set f [open "$tmpfile" "w"]
    1851             fconfigure $f -translation binary
     1849            fconfigure $f -translation binary -encoding binary
    18521850            puts $f $data
    18531851            close $f
  • trunk/gui/scripts/vtkviewer.tcl

    r2616 r2632  
    13851385            set tmpfile file[pid].vtk
    13861386            set f [open "$tmpfile" "w"]
     1387            fconfigure $f -translation binary -encoding binary
    13871388            puts $f $data
    13881389            close $f
Note: See TracChangeset for help on using the changeset viewer.