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

Apply outline fixes from heightmap (rev. 3447) to isosurface viewer

File:
1 edited

Legend:

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

    r3446 r3448  
    961961    }
    962962    set _first ""
    963     SendCmd "contour3d visible 0"
     963    SendCmd "dataset visible 0"
    964964    foreach dataobj [get -objects] {
    965965        if { [info exists _obj2ovride($dataobj-raise)] &&  $_first == "" } {
     
    995995            lappend _obj2datasets($dataobj) $tag
    996996            if { [info exists _obj2ovride($dataobj-raise)] } {
    997                 SendCmd "contour3d visible 1 $tag"
     997                # Setting dataset visible enables outline (if enabled)
     998                # and contour3d
     999                SendCmd "dataset visible 1 $tag"
    9981000            }
    9991001        }
     
    21482150    SendCmd "contour3d edges $style(-edges) $tag"
    21492151    SendCmd "dataset outline $style(-outline) $tag"
     2152    SendCmd "dataset color [Color2RGB $itk_option(-plotforeground)]"
    21502153    set _settings(isosurfaceOutline) $style(-outline)
    21512154    set _settings(isosurfaceEdges) $style(-edges)
Note: See TracChangeset for help on using the changeset viewer.