Changeset 5631 for branches/1.4


Ignore:
Timestamp:
May 29, 2015, 4:16:26 PM (9 years ago)
Author:
ldelgass
Message:

merge r5629 from 1.3 branch

Location:
branches/1.4
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/1.4

  • branches/1.4/examples/zoo/mesh/mesh.tcl

    r3752 r5631  
    154154        }
    155155        $driver put -type file -compress no $mesh.unstructured.points points.txt
    156         $driver put $mesh.unstructured.celltypes "triangle"
     156        $driver put $mesh.unstructured.celltypes $celltypes
    157157        $driver put $mesh.unstructured.cells $cells
    158158    }
  • branches/1.4/gui/scripts/mesh.tcl

    r5616 r5631  
    11361136    set count 0
    11371137    set _numCells 0
    1138     set celltypes {}
     1138    set celltypesout {}
    11391139    foreach line $lines {
    11401140        set length [llength $line]
     
    11431143        }
    11441144        if { $numCellTypes > 1 } {
    1145             set cellType [GetCellType [lindex $cellTypes $_numCells]]
     1145            set celltype [GetCellType [lindex $celltypes $_numCells]]
    11461146        }
    11471147        set numIndices [GetNumIndices $celltype]
     
    11531153        }
    11541154        append data " $numIndices $line\n"
    1155         lappend celltypes $celltype
     1155        lappend celltypesout $celltype
    11561156        incr count $length;         # Include the indices
    11571157        incr count;                 # and the number of indices
     
    11671167    append out $data
    11681168    append out "CELL_TYPES $_numCells\n"
    1169     append out $celltypes
     1169    append out $celltypesout
    11701170    set _limits(x) [$xv limits]
    11711171    set _limits(y) [$yv limits]
Note: See TracChangeset for help on using the changeset viewer.