Changeset 4094


Ignore:
Timestamp:
Dec 20, 2013 9:10:01 AM (10 years ago)
Author:
ldelgass
Message:

Apply current isolines/colormap visibilty to newly added datasets in viewer for
heightmaps/contours.

Location:
trunk/gui/scripts
Files:
2 edited

Legend:

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

    r4075 r4094  
    17641764itcl::body Rappture::VtkHeightmapViewer::SetCurrentColormap { name } {
    17651765    # Keep track of the colormaps that we build.
    1766     if { ![info exists _colormaps($name)] } {
     1766    if { $name != "none" && ![info exists _colormaps($name)] } {
    17671767        BuildColormap $name
    17681768        set _colormaps($name) 1
     
    23322332    SendCmd "heightmap isolinecolor [Color2RGB $color] $tag"
    23332333    SendCmd "heightmap lighting $_settings(isHeightmap) $tag"
     2334    SendCmd "heightmap isolines $_settings(isolinesVisible) $tag"
     2335    SendCmd "heightmap surface $_settings(colormapVisible) $tag"
    23342336}
    23352337
  • trunk/gui/scripts/vtkvolumeviewer.tcl

    r4088 r4094  
    11231123        cutplaneVisible \
    11241124        cutplanePositionX cutplanePositionY cutplanePositionZ \
    1125         cutplaneVisibleX cutplaneVisibleY cutplaneVisibleZ 
     1125        cutplaneVisibleX cutplaneVisibleY cutplaneVisibleZ
    11261126
    11271127    if { $_reset } {
Note: See TracChangeset for help on using the changeset viewer.