Changeset 4070 for trunk


Ignore:
Timestamp:
Dec 4, 2013, 12:00:30 PM (11 years ago)
Author:
gah
Message:

check for 0 isosurfaces (-levels 0) in vtkisosurfaceviewer

File:
1 edited

Legend:

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

    r3966 r4070  
    21482148    if { $_currentNumContours != $style(-levels) } {
    21492149        set _currentNumContours $style(-levels)
     2150        if { $_currentNumContours < 1 } {
     2151            set _currentNumContours 1
     2152        }
    21502153        set _settings(numContours) $_currentNumContours
    21512154        $itk_component(numcontours) value $_currentNumContours
Note: See TracChangeset for help on using the changeset viewer.