Changeset 5203 for branches/1.4
- Timestamp:
- Apr 13, 2015, 2:27:03 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.4/gui/scripts/nanovisviewer.tcl
r5187 r5203 970 970 SendCmd "camera zoom $_view(-zoom)" 971 971 972 # cutplane state 0 all972 # Turn off cutplanes for all volumes 973 973 foreach axis {x y z} { 974 # Turn off cutplanes for all volumes975 974 SendCmd "cutplane state 0 $axis" 976 975 } … … 1251 1250 set datasets [CurrentDatasets -cutplanes] 1252 1251 set tag [lindex $datasets 0] 1253 if { $bool } { 1254 foreach axis { x y z } { 1255 if { $_settings(-${axis}cutplanevisible) } { 1256 SendCmd "cutplane state 1 $axis $tag" 1257 } 1258 } 1259 } else { 1260 foreach axis { x y z } { 1261 SendCmd "cutplane state 0 $axis $tag" 1262 } 1263 } 1252 SendCmd "cutplane visible $bool $tag" 1264 1253 } 1265 1254 "-gridvisible" { … … 1342 1331 set datasets [CurrentDatasets -cutplanes] 1343 1332 set tag [lindex $datasets 0] 1344 if { $_settings(-cutplanesvisible) } { 1345 SendCmd "cutplane state $bool $axis $tag" 1346 } 1333 SendCmd "cutplane state $bool $axis $tag" 1347 1334 if { $bool } { 1348 1335 $itk_component(${axis}CutScale) configure -state normal \
Note: See TracChangeset
for help on using the changeset viewer.