Ignore:
Timestamp:
Mar 22, 2013, 7:04:43 PM (12 years ago)
Author:
gah
Message:

Bug: don't override user selected viewer in field

File:
1 edited

Legend:

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

    r3530 r3557  
    533533            append out "DATASET STRUCTURED_POINTS\n"
    534534            append out "DIMENSIONS $xNum $yNum 1\n"
     535            append out "ORIGIN $xMin $yMin 0\n"
    535536            append out "SPACING $xSpace $ySpace 0\n"
    536             append out "ORIGIN $xMin $yMin 0\n"
    537537            set _vtkdata $out
    538538            foreach axis {x y} {
     
    543543            set ySpace [expr ($yMax - $yMin) / double($yNum - 1)]
    544544            set zSpace [expr ($zMax - $zMin) / double($zNum - 1)]
    545             set _numPoints [expr $xNum * $yNum * zNum]
     545            set _numPoints [expr $xNum * $yNum * $zNum]
    546546            append out "DATASET STRUCTURED_POINTS\n"
    547547            append out "DIMENSIONS $xNum $yNum $zNum\n"
     548            append out "ORIGIN $xMin $yMin $zMin\n"
    548549            append out "SPACING $xSpace $ySpace $zSpace\n"
    549             append out "ORIGIN $xMin $yMin $zMin\n"
    550550            set _vtkdata $out
    551551            foreach axis {x y z} {
Note: See TracChangeset for help on using the changeset viewer.