Changeset 3531 for trunk/gui/scripts


Ignore:
Timestamp:
Mar 18, 2013, 3:34:46 PM (12 years ago)
Author:
gah
Message:

revert fix for contour3d visible to dataset visible

File:
1 edited

Legend:

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

    r3530 r3531  
    570570        # Remove it from the dataobj list.
    571571        set _dlist [lreplace $_dlist $pos $pos]
    572         SendCmd "contour3d visible 0"
     572        SendCmd "dataset visible 0"
    573573        array unset _obj2ovride $dataobj-*
    574574        array unset _settings $dataobj-*
     
    967967    }
    968968    set _first ""
    969     SendCmd "contour3d visible 0"
     969    SendCmd "dataset visible 0"
    970970    foreach dataobj [get -objects] {
    971971        if { [info exists _obj2ovride($dataobj-raise)] &&  $_first == "" } {
     
    10031003                # Setting dataset visible enables outline (if enabled)
    10041004                # and contour3d
    1005                 SendCmd "contour3d visible 1 $tag"
     1005                SendCmd "dataset visible 1 $tag"
    10061006            }
    10071007        }
     
    10371037        $itk_component(field) value $_curFldLabel
    10381038    }
    1039 
     1039    InitSettings cutplaneVisible
    10401040    if { $_reset } {
    10411041        # These are settings that rely on a dataset being loaded.
     
    10471047            cutplaneXPosition cutplaneYPosition cutplaneZPosition \
    10481048            cutplaneXVisible cutplaneYVisible cutplaneZVisible \
    1049             cutplanePreinterp cutplaneVisible
     1049            cutplanePreinterp
    10501050
    10511051        Zoom reset
Note: See TracChangeset for help on using the changeset viewer.