Ignore:
Timestamp:
Mar 3, 2013 5:33:08 PM (11 years ago)
Author:
gah
Message:

fix for sequence of contours

File:
1 edited

Legend:

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

    r3421 r3424  
    126126
    127127    private variable _click        ;    # info used for rotate operations
    128     private variable _limits       ;    # Overall limits for all dataobjs
     128    private variable _limits       ;    # Holds overall limits for all dataobjs
    129129                                        # using the viewer.
    130130    private variable _view         ;    # view params for 3D view
     
    614614            foreach {min max} $bounds($axis) break
    615615            if { ![info exists _limits($axis)] } {
    616                 set _limits($axis) [list $min $max]
     616                set _limits($axis) $bounds($axis)
    617617                continue
    618618            }
     
    907907            set _first $dataobj
    908908        }
    909         scale $dataobj
    910909        set _obj2datasets($dataobj) ""
    911910        foreach comp [$dataobj components] {
     
    10341033            blt::table forget $itk_component(field) $itk_component(field_l)
    10351034        }
     1035        RequestLegend
    10361036        set _reset 0
    10371037    }
     
    13881388            }
    13891389            # Get the new limits because the field changed.
    1390             scale $_dlist
    13911390            ResetAxes
    13921391            SendCmd "camera reset"
Note: See TracChangeset for help on using the changeset viewer.