Changeset 970 for trunk/gui/scripts


Ignore:
Timestamp:
Mar 29, 2008, 2:56:16 PM (16 years ago)
Author:
dkearney
Message:

adjusted the call to UpdateTransferFunction? when adding and removing iso markers. i think case where you you try to delete an iso marker and rappture pops up an error message to the user.

File:
1 edited

Legend:

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

    r968 r970  
    16341634    $m Show
    16351635    lappend _isomarkers($dataobj) $m
    1636     UpdateTransferFunction
     1636    UpdateTransferFunction $dataobj $comp
    16371637    return 1
    16381638}
     
    16441644    }
    16451645    set bool 0
     1646    set comp [lindex [$dataobj components] 0]
    16461647    if { [info exists _isomarkers($dataobj)] } {
    16471648        set list {}
     
    16611662        }
    16621663        set _isomarkers($dataobj) $list
    1663         UpdateTransferFunction
     1664        UpdateTransferFunction $dataobj $comp
    16641665    }
    16651666    return $bool
Note: See TracChangeset for help on using the changeset viewer.