Ignore:
Timestamp:
Nov 17, 2014 5:58:38 AM (10 years ago)
Author:
ldelgass
Message:

check for valid field

File:
1 edited

Legend:

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

    r4741 r4742  
    647647itcl::body Rappture::VtkVolumeViewer::scale {args} {
    648648    foreach dataobj $args {
     649        if { ![$dataobj isvalid] } {
     650            continue;                     # Object doesn't contain valid data.
     651        }
    649652        foreach axis { x y z } {
    650653            set lim [$dataobj limits $axis]
Note: See TracChangeset for help on using the changeset viewer.