Changeset 2390
- Timestamp:
- Aug 16, 2011, 3:50:37 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/nanovisviewer.tcl
r2353 r2390 914 914 SendCmd "cutplane state $_settings($this-${axis}cutplane) $axis $vols" 915 915 set pos [expr {0.01*$_settings($this-${axis}cutposition)}] 916 SendCmd "cutplane position $pos $axis $vols" 916 set vol [lindex $vols 0] 917 SendCmd "cutplane position $pos $axis $vol" 917 918 } 918 919 SendCmd "volume data state $_settings($this-volume) $vols" … … 1223 1224 if { [isconnected] } { 1224 1225 set vols [CurrentVolumes -cutplanes] 1225 puts stderr "cutplanes=$cutplanes" 1226 SendCmd "cutplane state $bool $axis $vol s"1226 set vol [lindex $vols 0] 1227 SendCmd "cutplane state $bool $axis $vol" 1227 1228 } 1228 1229 if { $bool } { … … 1884 1885 set newpos [expr {0.01*$newval}] 1885 1886 set vols [CurrentVolumes -cutplanes] 1886 SendCmd "cutplane position $newpos $axis $vols" 1887 set vol [lindex $vols 0] 1888 SendCmd "cutplane position $newpos $axis $vol" 1887 1889 } 1888 1890 default {
Note: See TracChangeset
for help on using the changeset viewer.