Ignore:
Timestamp:
Feb 27, 2006 9:30:46 AM (18 years ago)
Author:
mmc
Message:
  • Fixed the molecule viewer and contour viewer to catch any errors that might occur when a screen snap fails during a download operation. Quietly catches the error and snaps a single black pixel.
File:
1 edited

Legend:

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

    r193 r220  
    506506    switch $option {
    507507        coming {
    508             blt::winop snap $itk_component(area) $_download
     508            if {[catch {blt::winop snap $itk_component(area) $_download}]} {
     509                $_download configure -width 1 -height 1
     510                $_download put #000000
     511            }
    509512        }
    510513        now {
Note: See TracChangeset for help on using the changeset viewer.