Changeset 3447 for trunk


Ignore:
Timestamp:
Mar 4, 2013 12:02:34 PM (11 years ago)
Author:
ldelgass
Message:

Fix outline with sequence of contours

File:
1 edited

Legend:

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

    r3446 r3447  
    946946            lappend _obj2datasets($dataobj) $tag
    947947            if { [info exists _obj2ovride($dataobj-raise)] } {
    948                 SendCmd "heightmap visible 1 $tag"
     948                # Setting dataset visible enables outline (if enabled)
     949                # and heightmap
     950                SendCmd "dataset visible 1 $tag"
    949951            }
    950952            if { ![info exists _comp2scale($tag)] ||
     
    21552157        $itk_component(colormap) value $style(-color)
    21562158    }
     2159    SendCmd "dataset outline $_settings(outline) $tag"
     2160    SendCmd "dataset color [Color2RGB $itk_option(-plotforeground)] $tag"
    21572161    set _settings(numIsolines) $style(-levels)
    21582162    set scale [GetHeightmapScale]
Note: See TracChangeset for help on using the changeset viewer.