Ignore:
Timestamp:
Jul 17, 2013, 7:18:22 PM (11 years ago)
Author:
ldelgass
Message:

Fix bug in 'add' method of viewer widgets: list search for existing dataobj
entry was wrong (list and pattern transposed), causing potential duplicate
entries in dataobj list.

File:
1 edited

Legend:

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

    r3799 r3813  
    488488        set params(-color) white
    489489    }
    490     set pos [lsearch -exact $dataobj $_dlist]
     490    set pos [lsearch -exact $_dlist $dataobj]
    491491    if {$pos < 0} {
    492492        lappend _dlist $dataobj
Note: See TracChangeset for help on using the changeset viewer.