diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2017-09-14 21:18:56 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2017-09-14 21:18:56 (GMT) |
commit | e89152d5510b89fc747f96a1bdfaa381536b2993 (patch) | |
tree | 3a1eed9f9c077d768c2c9e700297a7df88aa344a | |
parent | edf3d6e89df283bca05e1804394b295b6ccc93c4 (diff) | |
download | blt-e89152d5510b89fc747f96a1bdfaa381536b2993.zip blt-e89152d5510b89fc747f96a1bdfaa381536b2993.tar.gz blt-e89152d5510b89fc747f96a1bdfaa381536b2993.tar.bz2 |
new AST support
-rw-r--r-- | tksao/frame/framebase.C | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tksao/frame/framebase.C b/tksao/frame/framebase.C index ae09414..f855d4c 100644 --- a/tksao/frame/framebase.C +++ b/tksao/frame/framebase.C @@ -232,10 +232,9 @@ void FrameBase::updatePanner() double rr = keyContext->fits->getWCSRotation(wcsSystem_, wcsSky_); Matrix mx; - AstFrameSet* aa = keyContext->fits->getAST(wcsSystem_); Coord::Orientation oo = keyContext->fits->getWCSOrientation(wcsSystem_, wcsSky_); - if (astIsASkyFrame(astGetFrame(aa, AST__CURRENT))) { + if (hasWCSCel(wcsSystem_)) { if (oo==Coord::XX) mx *= FlipX(); } |