Changeset 3433 for trunk


Ignore:
Timestamp:
Mar 3, 2013 7:45:50 PM (11 years ago)
Author:
ldelgass
Message:

Reorder commands on field change so that 'dataset scalar...' (which can change
the scene bounds with a new heightmap) preceeds the 'camera reset' (which uses
the new bounds to set the zoom level).

File:
1 edited

Legend:

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

    r3432 r3433  
    14021402            # Get the new limits because the field changed.
    14031403            ResetAxes
     1404            SendCmd "dataset scalar $_curFldName"
     1405            SendCmd "heightmap colormode scalar $_curFldName"
    14041406            SendCmd "camera reset"
    1405             SendCmd "heightmap colormode scalar $_curFldName"
    1406             SendCmd "dataset scalar $_curFldName"
    14071407            DrawLegend
    14081408        }
Note: See TracChangeset for help on using the changeset viewer.