summaryrefslogtreecommitdiffstats
path: root/ds9/library/3d.tcl
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2018-03-30 17:29:42 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2018-03-30 17:29:42 (GMT)
commit7eb41b824cd7b714b4a22a47ec725c6af6d65565 (patch)
tree94e461d66774f15bdc9482d7462a21e1cf38fb08 /ds9/library/3d.tcl
parent9e0b470e3269dfbebb93ae9ec66839aab9689568 (diff)
downloadblt-7eb41b824cd7b714b4a22a47ec725c6af6d65565.zip
blt-7eb41b824cd7b714b4a22a47ec725c6af6d65565.tar.gz
blt-7eb41b824cd7b714b4a22a47ec725c6af6d65565.tar.bz2
update ds9 3d parser
Diffstat (limited to 'ds9/library/3d.tcl')
-rw-r--r--ds9/library/3d.tcl9
1 files changed, 9 insertions, 0 deletions
diff --git a/ds9/library/3d.tcl b/ds9/library/3d.tcl
index 6a42f92..4199f87 100644
--- a/ds9/library/3d.tcl
+++ b/ds9/library/3d.tcl
@@ -569,6 +569,15 @@ proc Process3DCmd {varname iname} {
}
}
+proc ThreedCmdSet {which value {cmd {}}} {
+ global threed
+
+ set threed($which) $value
+ if {$cmd != {}} {
+ eval $cmd
+ }
+}
+
proc ProcessSend3DCmd {proc id param} {
global threed