Changeset 1406 for trunk


Ignore:
Timestamp:
Apr 20, 2009 12:59:17 PM (15 years ago)
Author:
gah
Message:
 
Location:
trunk/gui/scripts
Files:
3 edited

Legend:

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

    r1343 r1406  
    313313            # to the BLT picture image it won't be necessary to decode the
    314314            # image data.
    315             set bytes [$top data $tmpfile -format "jpeg -quality 100"]
     315            set bytes [$top data -format "jpeg -quality 100"]
    316316            set bytes [Rappture::encoding::decode -as b64 $bytes]
    317317            return [list .jpg $bytes]
  • trunk/gui/scripts/molvisviewer.tcl

    r1391 r1406  
    8686    private method WaitIcon { option widget }
    8787    private variable icon_ 0
    88     private variable _inrebuild 0
    8988
    9089    private variable _mevent       ;# info used for mouse event operations
     
    261260    bind $itk_component(ortho) <ButtonPress> \
    262261        [itcl::code $this projection toggle]
    263     $this projection perspective
    264262
    265263    _BuildViewTab
     
    623621    #debug "success: reading $size bytes from proxy\n"
    624622    if { $cacheid == "print" } {
    625         puts stderr "got hardcopy token"
    626623        # $frame is the token that we sent to the proxy.
    627624        set hardcopy_($this-$frame) $data
     
    643640# ----------------------------------------------------------------------
    644641itcl::body Rappture::MolvisViewer::_rebuild {} {
    645     if { $_inrebuild } {
    646         # don't allow overlapping rebuild calls
    647         return
    648     }
    649642    debug "in rebuild"
    650     #set _inrebuild 1
    651643    set changed 0
    652644
     
    803795    representation update
    804796
    805     set _inrebuild 0
    806797    $itk_component(3dview) configure -cursor ""
    807798    debug "exiting rebuild"
     
    904895    if { $_image(id) != "$tag" } {
    905896        if { [info exists _imagecache($tag)] } {
    906             #puts stderr "DISPLAYING CACHED IMAGE"
    907897            $_image(plot) configure -data $_imagecache($tag)
    908898            set _image(id) "$tag"
     
    10631053itcl::body Rappture::MolvisViewer::_rotate {option x y} {
    10641054    set now  [clock clicks -milliseconds]
    1065     update idletasks
     1055    #update idletasks
    10661056    # cancel any pending delayed dragging events
    10671057    if { [info exists _mevent(afterid)] } {
  • trunk/gui/scripts/nanovisviewer.tcl

    r1405 r1406  
    107107    private method BuildCameraTab {}
    108108    private method PanCamera {}
    109 
    110109
    111110    private variable outbuf_       ;# buffer for outgoing commands
Note: See TracChangeset for help on using the changeset viewer.