Changeset 468 for trunk/gui/scripts/nanovisviewer.tcl
- Timestamp:
- Jun 8, 2006, 6:58:38 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/nanovisviewer.tcl
r465 r468 793 793 # activate the proper volume 794 794 set first [lindex [get] 0] 795 796 set axis [$first hints updir] 797 if {"" != $axis} { 798 _send up $axis 795 if {"" != $first} { 796 set axis [$first hints updir] 797 if {"" != $axis} { 798 _send up $axis 799 } 799 800 } 800 801 … … 940 941 # nothing to send -- activate the proper volume 941 942 set first [lindex [get] 0] 942 943 set axis [$first hints updir] 944 if {"" != $axis} { 945 _send up $axis 943 if {"" != $first} { 944 set axis [$first hints updir] 945 if {"" != $axis} { 946 _send up $axis 947 } 946 948 } 947 949 foreach key [array names _obj2id *-*] { … … 1219 1221 1220 1222 set dataobj [lindex [get] 0] 1223 if {"" == $dataobj} { 1224 return 1225 } 1221 1226 set comp [lindex [$dataobj components] 0] 1222 1227 if {![info exists _obj2style($dataobj-$comp)]} { … … 1331 1336 1332 1337 set dataobj [lindex [get] 0] 1333 set comp [lindex [$dataobj components] 0] 1334 if {[info exists _obj2id($dataobj-$comp)]} { 1335 set ivol $_obj2id($dataobj-$comp) 1338 if {"" != $dataobj} { 1339 set comp [lindex [$dataobj components] 0] 1340 if {[info exists _obj2id($dataobj-$comp)]} { 1341 set ivol $_obj2id($dataobj-$comp) 1342 } 1336 1343 } 1337 1344
Note: See TracChangeset
for help on using the changeset viewer.