Ignore:
Timestamp:
Aug 25, 2011, 8:10:48 PM (13 years ago)
Author:
ldelgass
Message:

Remove some unused code from vtkcontourviewer.tcl that can cause an error on
a rebuild/reset if _first is empty. In vtkviewer.tcl, use camera reset
(without the 'all') flag to reset while keeping orientation.

File:
1 edited

Legend:

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

    r2414 r2417  
    358358
    359359    # Must reset camera to have object scaling to take effect.
    360     SendCmd "camera reset all"
    361     set q [list $_view(qw) $_view(qx) $_view(qy) $_view(qz)]
    362     $_arcball quaternion $q
    363     SendCmd "camera orient $q"
     360    SendCmd "camera reset"
    364361    SendCmd "camera zoom $_view(zoom)"
    365362    set _resizePending 0
Note: See TracChangeset for help on using the changeset viewer.