Changeset 3571 for trunk/gui/scripts/vtkheightmapviewer.tcl
- Timestamp:
- Mar 25, 2013, 10:12:31 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/vtkheightmapviewer.tcl
r3554 r3571 464 464 # ---------------------------------------------------------------------- 465 465 itcl::body Rappture::VtkHeightmapViewer::add {dataobj {settings ""}} { 466 if { ![$dataobj isvalid] } { 467 return; # Object doesn't contain valid data. 468 } 466 469 array set params { 467 470 -color auto … … 613 616 itcl::body Rappture::VtkHeightmapViewer::scale {args} { 614 617 foreach dataobj $args { 618 if { ![$dataobj isvalid] } { 619 continue; # Object doesn't contain valid data. 620 } 615 621 foreach axis { x y } { 616 622 set lim [$dataobj limits $axis]
Note: See TracChangeset
for help on using the changeset viewer.