Ignore:
Timestamp:
Feb 27, 2014, 2:05:13 AM (11 years ago)
Author:
ldelgass
Message:

Add "default" to colormap dropdown: needed for user-specified -color styles
(which may not have a named entry). Still needs some work (see e.g. the volume1
test).

File:
1 edited

Legend:

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

    r4194 r4197  
    17271727        Rappture::Combobox $inner.volcomponents -editable no
    17281728    }
    1729     $itk_component(volcomponents) value "BCGYR"
    17301729    bind $inner.volcomponents <<Value>> \
    17311730        [itcl::code $this AdjustSetting -current]
     
    18161815    }
    18171816    $inner.colormap choices insert end \
     1817        "default"            "default"          \
    18181818        "BCGYR"              "BCGYR"            \
    18191819        "BGYOR"              "BGYOR"            \
     
    18331833        "orange-to-blue"     "orange-to-blue"   
    18341834
    1835     $itk_component(colormap) value "BCGYR"
    18361835    bind $inner.colormap <<Value>> \
    18371836        [itcl::code $this AdjustSetting -color]
     1837    $itk_component(colormap) value "default"
     1838    set _settings(-color) "default"
    18381839
    18391840    label $inner.blendmode_l -text "Blend Mode" -font $font
Note: See TracChangeset for help on using the changeset viewer.