diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2019-10-09 19:40:39 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2019-10-09 19:40:39 (GMT) |
commit | 6fc6bc4dbf1fda9b734eb785d8d168ad62d1f22b (patch) | |
tree | 7e9bf074e82b8b4038c3a731a1ac8975d82839a5 /tksao/frame/basecommand.C | |
parent | c3454d38463952e9472ea5bd2e0d8584a60ad063 (diff) | |
download | blt-6fc6bc4dbf1fda9b734eb785d8d168ad62d1f22b.zip blt-6fc6bc4dbf1fda9b734eb785d8d168ad62d1f22b.tar.gz blt-6fc6bc4dbf1fda9b734eb785d8d168ad62d1f22b.tar.bz2 |
support higher wcs dims
Diffstat (limited to 'tksao/frame/basecommand.C')
-rw-r--r-- | tksao/frame/basecommand.C | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tksao/frame/basecommand.C b/tksao/frame/basecommand.C index b50115a..071f5d9 100644 --- a/tksao/frame/basecommand.C +++ b/tksao/frame/basecommand.C @@ -2801,8 +2801,7 @@ void Base::sliceCmd(int ii, int ss) updateMagnifier(); } -void Base::sliceCmd(int ii, double dd, - Coord::CoordSystem sys, Coord::SkyFrame sky) +void Base::sliceCmd(double dd, Coord::CoordSystem sys, Coord::SkyFrame sky) { if (!currentContext->fits) return; @@ -2815,7 +2814,7 @@ void Base::sliceCmd(int ii, double dd, // IMAGE (ranges 1-n) // be sure to round properly - setSlice(ii,int(out[2]+.5)); + setSlice(2,int(out[2]+.5)); updateMagnifier(); } |