Ignore:
Timestamp:
Mar 3, 2013, 10:53:25 AM (11 years ago)
Author:
ldelgass
Message:

Need to set camera mode _before_ resetting camera to properly initialize
image camera mode in heightmap viewer.

File:
1 edited

Legend:

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

    r3417 r3418  
    928928        }           
    929929        PanCamera
    930     }
    931     set _first ""
    932 
    933     #SendCmd "imgflush"
     930        SendCmd "imgflush"
     931    }
    934932
    935933    set _first ""
     
    14461444                $itk_component(opacity_l) configure -state disabled
    14471445                $itk_component(scale_l) configure -state disabled
     1446                SendCmd "camera mode image"
    14481447            }
    14491448            if {$_settings(stretchToFit)} {
     
    14641463                bind $c <B1-Motion> {}
    14651464                bind $c <ButtonRelease-1> {}
    1466                 SendCmd "camera mode image"
    14671465            }
    14681466            # Fix the mouse bindings for rotation/panning and the
Note: See TracChangeset for help on using the changeset viewer.