Ignore:
Timestamp:
May 15, 2013 2:02:59 PM (11 years ago)
Author:
gah
Message:

fix assorted automatic tickets: bad data in curve, more trim space, move image creation before errors in constructor

File:
1 edited

Legend:

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

    r3638 r3656  
    8080    protected method Rotate {option x y}
    8181    protected method Zoom {option}
    82    
     82
    8383    # The following methods are only used by this class.
    8484    private method BuildAxisTab {}
     
    193193    $_parser alias legend [itcl::code $this ReceiveLegend]
    194194
     195    # Create image for legend colorbar.
     196    set _image(legend) [image create photo]
     197
    195198    # Initialize the view to some default parameters.
    196199    array set _view {
     
    209212
    210213    array set _settings {
    211         axisFlymode             "static"
    212         axisMinorTicks          1
    213         stretchToFit            0
     214        axisFlymode             "static"
     215        axisMinorTicks          1
     216        stretchToFit            0
    214217        axisLabels              1
    215218        axisVisible             1
     
    250253    itk_component add fieldmenu {
    251254        menu $itk_component(plotarea).menu \
    252             -relief flat \
     255            -relief flat \
    253256            -tearoff no
    254257    } {
     
    332335        puts stderr "errs=$errs errorInfo=$errorInfo"
    333336    }
    334     set _image(legend) [image create photo]
    335337
    336338    # Hack around the Tk panewindow.  The problem is that the requested
     
    15021504                $itk_component(outline) configure -state normal
    15031505                SendCmd "camera mode image"
    1504             }
     1506            }
    15051507            if {$_settings(stretchToFit)} {
    15061508                if {$scale == 0} {
Note: See TracChangeset for help on using the changeset viewer.