summaryrefslogtreecommitdiffstats
path: root/ds9/library/samp.tcl
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2018-07-24 21:25:56 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2018-07-24 21:25:56 (GMT)
commit2f7d0607458b962e7ffe8054f3e3e6b4da01744a (patch)
tree1dbf4b50a3aa9690d2629d8634de0e65c2d22d6a /ds9/library/samp.tcl
parent5f7153b8b5e1db87dfcf19afc211ac2a4c43fa8d (diff)
downloadblt-2f7d0607458b962e7ffe8054f3e3e6b4da01744a.zip
blt-2f7d0607458b962e7ffe8054f3e3e6b4da01744a.tar.gz
blt-2f7d0607458b962e7ffe8054f3e3e6b4da01744a.tar.bz2
simplify has wcs command
Diffstat (limited to 'ds9/library/samp.tcl')
-rw-r--r--ds9/library/samp.tcl4
1 files changed, 2 insertions, 2 deletions
diff --git a/ds9/library/samp.tcl b/ds9/library/samp.tcl
index d126c02..981591b 100644
--- a/ds9/library/samp.tcl
+++ b/ds9/library/samp.tcl
@@ -629,7 +629,7 @@ proc SAMPSendCoordPointAtSkyCmd {which} {
return
}
- if {[$which has wcs equatorial wcs]} {
+ if {[$which has wcs celestial wcs]} {
set coord [$which get coordinates [$which get cursor canvas] wcs fk5 degrees]
if {$coord != {}} {
SAMPSendCoordPointAtSky {} "$coord"
@@ -1499,7 +1499,7 @@ proc SAMPRcvdCoordPointAtSky {varname} {
}
global current
- if {$ra != {} && $dec != {} && [$current(frame) has wcs equatorial wcs]} {
+ if {$ra != {} && $dec != {} && [$current(frame) has wcs celestial wcs]} {
set samp(rcvd,lock) 1
PanTo $ra $dec wcs fk5
set samp(rcvd,lock) 0