Changeset 5093
- Timestamp:
- Mar 8, 2015, 1:17:35 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/field.tcl
r5025 r5093 915 915 } 916 916 if { [catch { Rappture::DxToVtk $contents } vtkdata] == 0 } { 917 unset contents 917 918 ReadVtkDataSet $cname $vtkdata 918 919 if 0 { … … 922 923 } 923 924 } else { 924 puts stderr "Can't parse dx data: $vtkdata" 925 unset contents 926 puts stderr "Can't parse dx data" 925 927 } 926 928 if { $_alwaysConvertDX || … … 932 934 set _comp2dx($cname) $data 933 935 } 936 unset data 937 unset vtkdata 934 938 set _comp2style($cname) [$_field get $cname.style] 935 939 if {[$_field element $cname.flow] != ""} { … … 1389 1393 if {[$_xmlobj element $path] == ""} { 1390 1394 # Unknown mesh designated. 1395 puts stderr "ERROR: Unknown mesh \"$path\"" 1391 1396 return 0 1392 1397 } … … 1591 1596 $v set [$_field get $cname.values] 1592 1597 if { [$v length] == 0 } { 1598 puts stderr "ERROR: No field values" 1593 1599 return 0 1594 1600 }
Note: See TracChangeset
for help on using the changeset viewer.