Changeset 5913 for branches


Ignore:
Timestamp:
Oct 17, 2015, 5:11:56 PM (9 years ago)
Author:
ldelgass
Message:

Fix from George for enabling stretch-to-fit mode when units of axes differ.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.4/gui/scripts/vtkheightmapviewer.tcl

    r5850 r5913  
    626626        }
    627627        foreach axis { x y } {
     628            set units [$dataobj hints ${axis}units]
     629            set found($units) 1
    628630            set lim [$dataobj limits $axis]
    629631            if { ![info exists _limits($axis)] } {
     
    640642            }
    641643            set _limits($axis) [list $amin $amax]
    642             set units [$dataobj hints ${axis}units]
    643             set found($units) 1
    644644        }
    645645        foreach { fname lim } [$dataobj fieldlimits] {
Note: See TracChangeset for help on using the changeset viewer.