Ignore:
Timestamp:
Mar 14, 2013 8:01:36 AM (11 years ago)
Author:
ldelgass
Message:

Delay Rebuild until window size larger than 1x1 - copying this code from
VTK viewers to nanovis viewers. Helps get proper aspect for initial camera
reset. There is still a problem with the updir coming too late (needs to come
before camera reset).

File:
1 edited

Legend:

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

    r3482 r3498  
    859859    }
    860860
    861     StartBufferingCommands
    862861    # Turn on buffering of commands to the server.  We don't want to
    863862    # be preempted by a server disconnect/reconnect (which automatically
    864863    # generates a new call to Rebuild).   
     864    StartBufferingCommands
     865
    865866    if { $_width != $w || $_height != $h || $_reset } {
    866867        set _width $w
Note: See TracChangeset for help on using the changeset viewer.