Ignore:
Timestamp:
Aug 26, 2011, 11:57:25 AM (13 years ago)
Author:
ldelgass
Message:

Remove unused zoom-x/zoom-y view params, remove redundant setting of default
orientation and pan in server after a camera reset all.

File:
1 edited

Legend:

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

    r2417 r2421  
    173173        pan-x           0
    174174        pan-y           0
    175         zoom-x          1.0
    176         zoom-y          1.0
    177175    }
    178176    set _arcball [blt::arcball create 100 100]
     
    919917                pan-x   0
    920918                pan-y   0
    921                 zoom-x  1.0
    922                 zoom-y  1.0
    923919            }
    924920            SendCmd "camera reset all"
     
    931927            set q [list $_view(qw) $_view(qx) $_view(qy) $_view(qz)]
    932928            $_arcball quaternion $q
    933             SendCmd "camera orient $q"
    934             PanCamera
    935929        }
    936930    }
Note: See TracChangeset for help on using the changeset viewer.