summaryrefslogtreecommitdiffstats
path: root/ds9/library/mwcs.tcl
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2018-08-30 20:18:20 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2018-08-30 20:18:20 (GMT)
commit9e48640f65728710421af5f7b6ea48552a9cf9bd (patch)
tree0843afbff55dc9b417ef4e269673b02507acce4a /ds9/library/mwcs.tcl
parente829293f8e00aaf4119b8f5b6d8cdf40cc58aeb8 (diff)
downloadblt-9e48640f65728710421af5f7b6ea48552a9cf9bd.zip
blt-9e48640f65728710421af5f7b6ea48552a9cf9bd.tar.gz
blt-9e48640f65728710421af5f7b6ea48552a9cf9bd.tar.bz2
handle non equatorial wcs 3d correctly
Diffstat (limited to 'ds9/library/mwcs.tcl')
-rw-r--r--ds9/library/mwcs.tcl4
1 files changed, 2 insertions, 2 deletions
diff --git a/ds9/library/mwcs.tcl b/ds9/library/mwcs.tcl
index cb7a21f..b9c6755 100644
--- a/ds9/library/mwcs.tcl
+++ b/ds9/library/mwcs.tcl
@@ -37,9 +37,9 @@ proc UpdateWCSMenu {} {
set wcs(frame) $current(frame)
if {[$current(frame) has fits]} {
- CoordMenuEnable $ds9(mb).wcs wcs system 0 sky skyformat
+ CoordMenuEnable $ds9(mb).wcs wcs system {} sky skyformat
} else {
- CoordMenuReset $ds9(mb).wcs wcs system 0 sky skyformat
+ CoordMenuReset $ds9(mb).wcs wcs system {} sky skyformat
}
LayoutWCSInfoBox $current(frame)
} else {