Changeset 6345 for trunk


Ignore:
Timestamp:
May 16, 2016 7:47:47 AM (8 years ago)
Author:
ldelgass
Message:

Restore saved isoline color on isoline enable in heightmap viewer.

File:
1 edited

Legend:

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

    r6339 r6345  
    16041604            set _changed($what) 1
    16051605            set bool $_settings($what)
    1606             if { $bool } {
     1606            set color [$itk_component(isolinecolor) value]
     1607            if { $bool && $color != $_settings(-isolinecolor)} {
    16071608                $itk_component(isolinecolor) value $_settings(-isolinecolor)
    16081609            }
     
    23912392# DrawLegend --
    23922393#
    2393 # Draws the legend in the own canvas on the right side of the plot area.
     2394# Draws the legend in its own canvas on the right side of the plot area.
    23942395#
    23952396itcl::body Rappture::VtkHeightmapViewer::DrawLegend {} {
Note: See TracChangeset for help on using the changeset viewer.