Ignore:
Timestamp:
May 14, 2016, 3:51:42 AM (8 years ago)
Author:
ldelgass
Message:

Set default isoline color from settings array

File:
1 edited

Legend:

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

    r6303 r6329  
    15021502        }
    15031503        "-isolinecolor" {
    1504             set color [$itk_component(isolineColor) value]
     1504            set color [$itk_component(isolinecolor) value]
    15051505            set _settings($what) $color
    15061506            DrawLegend
     
    17381738
    17391739    label $inner.linecolor_l -text "Isolines" -font "Arial 9"
    1740     itk_component add isolineColor {
     1740    itk_component add isolinecolor {
    17411741        Rappture::Combobox $inner.linecolor -width 10 -editable 0
    17421742    }
     
    17531753        "none"               "none"
    17541754
    1755     $itk_component(isolineColor) value "white"
     1755    $itk_component(isolinecolor) value $_settings(-isolinecolor)
    17561756    bind $inner.linecolor <<Value>> \
    17571757        [itcl::code $this AdjustSetting -isolinecolor]
Note: See TracChangeset for help on using the changeset viewer.