Ignore:
Timestamp:
May 4, 2016 10:09:48 AM (7 years ago)
Author:
gah
Message:

fixes -load causing simulation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.7/gui/scripts/nanovisviewer.tcl

    r6308 r6310  
    502502        if { $pos >= 0 } {
    503503            set _dlist [lreplace $_dlist $pos $pos]
     504            # Don't remove the limits settings because we're not really
     505            # deleting the volume, just hiding it.
     506            #array unset _limits $dataobj*
    504507            array unset _obj2ovride $dataobj-*
    505508            set changed 1
     
    794797
    795798    if { [info exists _isomarkers($tf)] } {
     799        # The "visible" isomarker method below implicitly calls "absval".
     800        # It uses the screen position of the marker to compute the absolute
     801        # value.  So make sure the window size has been computed before
     802        # calling "visible".
     803        update idletasks
     804        update
    796805        foreach m $_isomarkers($tf) {
    797806            $m visible yes
     
    916925    # settings since the user may have created/deleted/moved markers.
    917926
     927    # The "visible" isomarker method below implicitly calls "absval".  It
     928    # uses the screen position of the marker to compute the absolute value.
     929    # So make sure the window size has been computed before calling
     930    # "visible".
     931    update idletasks
     932    update
    918933    foreach tf [array names _isomarkers] {
    919934        foreach m $_isomarkers($tf) {
Note: See TracChangeset for help on using the changeset viewer.