Changeset 5135


Ignore:
Timestamp:
Mar 14, 2015, 5:09:57 AM (5 years ago)
Author:
ldelgass
Message:

Fix command sequence in molvisviewer

File:
1 edited

Legend:

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

    r5134 r5135  
    11201120        set w  [winfo width $itk_component(3dview)]
    11211121        set h  [winfo height $itk_component(3dview)]
    1122         ServerCmd [subst {
    1123             reset
    1124             screen $w $h
    1125             rotate $_view(mx) $_view(my) $_view(mz)
    1126             pan $_view(x) $_view(y)
    1127             zoom $_view(zoom)
    1128         }]
     1122        ServerCmd "reset"
     1123        ServerCmd "screen $w $h"
     1124        ServerCmd "rotate $_view(mx) $_view(my) $_view(mz)"
     1125        ServerCmd "pan $_view(x) $_view(y)"
     1126        ServerCmd "zoom $_view(zoom)"
    11291127        debug "rebuild: rotate $_view(mx) $_view(my) $_view(mz)"
    11301128
Note: See TracChangeset for help on using the changeset viewer.