Ignore:
Timestamp:
Apr 15, 2011 2:48:50 PM (10 years ago)
Author:
lake
Message:

Bug fixes:
1 - sorter in Edit Matrix works correctly.
2 - the last coordinate is no longer dropped when reading in coordinates imported from cartesian and zmatrix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/sandbox/rbimport_cartesian.tcl

    r1131 r1133  
    7373
    7474     set ::rb_colnum 0
    75      for {set linenum 1} {$linenum <= [expr $::rb_linenum - 1]} {incr linenum} {
     75     for {set linenum 1} {$linenum <= $::rb_linenum} {incr linenum} {
    7676         for {set colnum 0} {$colnum <= [expr [llength $::tline($linenum)] -1]} {incr colnum} {
    7777             grid [label $main.cart$::rb_colnum -text [lindex $::tline($linenum) $colnum] -width 8] -padx 5 -row $linenum -column [expr $colnum + 1]
     
    116116     set ::rb_num 1
    117117     set ::rb_matrix_num($bodytyp) 1
    118      set sitenum [expr $::rb_linenum - 1]
    119      set temp [expr $::rb_linenum - 1]
     118     set sitenum $::rb_linenum
     119     set temp $::rb_linenum
    120120     set colnum [llength $::tline(1)]
    121121
     
    146146
    147147     set ::rb_coord_num($bodytyp,1) $temp
    148    
     148
    149149
    150150    #$::rb_notebook raise [$::rb_notebook page 0]
Note: See TracChangeset for help on using the changeset viewer.