Changeset 3837 for trunk/gui/scripts


Ignore:
Timestamp:
Jul 24, 2013 3:50:19 PM (11 years ago)
Author:
ldelgass
Message:

Apply outline fix from r3553 to isosurface/glyph viewers.

Location:
trunk/gui/scripts
Files:
2 edited

Legend:

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

    r3833 r3837  
    995995            lappend _obj2datasets($dataobj) $tag
    996996            if { [info exists _obj2ovride($dataobj-raise)] } {
    997                 # Setting dataset visible enables outline (if enabled)
     997                # Setting dataset visible enables outline
    998998                # and glyphs
    999999                SendCmd "dataset visible 1 $tag"
     
    10311031        $itk_component(field) value $_curFldLabel
    10321032    }
    1033     #InitSettings cutplaneVisible
     1033    InitSettings glyphOutline
     1034        #cutplaneVisible
    10341035    if { $_reset } {
    10351036        # These are settings that rely on a dataset being loaded.
     
    10381039            field \
    10391040            glyphEdges glyphLighting glyphOpacity \
    1040             glyphWireframe glyphOutline
     1041            glyphWireframe
    10411042
    10421043        #cutplaneXPosition cutplaneYPosition cutplaneZPosition \
  • trunk/gui/scripts/vtkisosurfaceviewer.tcl

    r3833 r3837  
    10021002            lappend _obj2datasets($dataobj) $tag
    10031003            if { [info exists _obj2ovride($dataobj-raise)] } {
    1004                 # Setting dataset visible enables outline (if enabled)
     1004                # Setting dataset visible enables outline
    10051005                # and contour3d
    10061006                SendCmd "dataset visible 1 $tag"
     
    10381038        $itk_component(field) value $_curFldLabel
    10391039    }
    1040     InitSettings cutplaneVisible
     1040    InitSettings cutplaneVisible isosurfaceOutline
    10411041    if { $_reset } {
    10421042        # These are settings that rely on a dataset being loaded.
     
    10451045            field \
    10461046            isosurfaceEdges isosurfaceLighting isosurfaceOpacity \
    1047             isosurfaceWireframe isosurfaceOutline \
     1047            isosurfaceWireframe \
    10481048            cutplaneXPosition cutplaneYPosition cutplaneZPosition \
    10491049            cutplaneXVisible cutplaneYVisible cutplaneZVisible \
Note: See TracChangeset for help on using the changeset viewer.