Changeset 4926 for branches/1.4
- Timestamp:
- Jan 14, 2015, 2:03:47 PM (10 years ago)
- Location:
- branches/1.4
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.4
-
branches/1.4/gui/scripts/cloud.tcl
r4504 r4926 148 148 # Extract each point and add it to the points list 149 149 foreach {x y z} $line break 150 foreach axis {x y z} units $_units { 151 if { $units == "" } { 152 set value [set $axis] 153 } else { 154 set value [Rappture::Units::convert [set $axis] \ 155 -context $units -to $units -units off] 156 } 157 set $axis $value; # Set the (x/y/z) coordinate to 158 # converted value. 150 foreach axis {x y z} { 151 # Units on point coordinates are NOT supported 152 set value [set $axis] 153 # Update limits 159 154 if { ![info exists _limits($axis)] } { 160 155 set _limits($axis) [list $value $value]
Note: See TracChangeset
for help on using the changeset viewer.