Changeset 2632
- Timestamp:
- Oct 14, 2011, 1:21:33 PM (13 years ago)
- Location:
- trunk/gui/scripts
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/vtkstreamlinesviewer.tcl
r2623 r2632 1487 1487 set name $_scalarFields($new) 1488 1488 set _colorMode scalar 1489 set fieldType scalar1490 1489 set _currentField $new 1491 1490 } elseif { [info exists _vectorFields($new)] } { 1492 1491 set name $_vectorFields($new) 1493 1492 set _colorMode vmag 1494 set fieldType vector1495 1493 set _currentField $new 1496 1494 } else { … … 1849 1847 set tmpfile file[pid].vtk 1850 1848 set f [open "$tmpfile" "w"] 1851 fconfigure $f -translation binary 1849 fconfigure $f -translation binary -encoding binary 1852 1850 puts $f $data 1853 1851 close $f -
trunk/gui/scripts/vtkviewer.tcl
r2616 r2632 1385 1385 set tmpfile file[pid].vtk 1386 1386 set f [open "$tmpfile" "w"] 1387 fconfigure $f -translation binary -encoding binary 1387 1388 puts $f $data 1388 1389 close $f
Note: See TracChangeset
for help on using the changeset viewer.