Changeset 4397 for branches/1.3


Ignore:
Timestamp:
Jun 18, 2014 12:05:03 PM (6 years ago)
Author:
ldelgass
Message:

Fixes: don't toggle isosurface visible button when toggling outline. In
Rebuild, start by making all objects invisible ('dataset visible 0'), then we
should set visibility on individual objects. Otherwise, previously visible
outlines and cutplanes were not being turned off in Rebuild.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.3/gui/scripts/vtkisosurfaceviewer.tcl

    r4391 r4397  
    969969    }
    970970    set _first ""
    971     SendCmd "contour3d visible 0"
     971    SendCmd "dataset visible 0"
    972972    foreach dataobj [get -objects] {
    973973        if { [info exists _obj2ovride($dataobj-raise)] &&  $_first == "" } {
     
    14611461                    SendCmd "outline visible $bool $tag"
    14621462                }
    1463             }
    1464             if { $bool } {
    1465                 Rappture::Tooltip::for $itk_component(contour) \
    1466                     "Hide the isosurface"
    1467             } else {
    1468                 Rappture::Tooltip::for $itk_component(contour) \
    1469                     "Show the isosurface"
    14701463            }
    14711464        }
Note: See TracChangeset for help on using the changeset viewer.