diff options
Diffstat (limited to 'tksao/frame/grid3d.C')
-rw-r--r-- | tksao/frame/grid3d.C | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tksao/frame/grid3d.C b/tksao/frame/grid3d.C index d3f83ba..96f13d8 100644 --- a/tksao/frame/grid3d.C +++ b/tksao/frame/grid3d.C @@ -100,7 +100,7 @@ int Grid3d::doit(RenderMode rm) // Get 2D SkyFrame AstFrameSet* ast = (AstFrameSet*)astCopy(fits->getAST(system_)); - if (fits->astWCSIsASkyFrame(astGetFrame(ast, AST__CURRENT))) + if (fits->astWCSIsASkyFrame(ast)) fits->setAstWCSSkyFrame(ast, sky_); // Record the index of the current Frame |