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/vtkvolumeviewer.tcl

    r3799 r3813  
    537537        set params(-color) black
    538538    }
    539     set pos [lsearch -exact $dataobj $_dlist]
     539    set pos [lsearch -exact $_dlist $dataobj]
    540540    if {$pos < 0} {
    541541        lappend _dlist $dataobj
Note: See TracChangeset for help on using the changeset viewer.