summaryrefslogtreecommitdiffstats
path: root/tksao/frame/grid3d.C
diff options
context:
space:
mode:
Diffstat (limited to 'tksao/frame/grid3d.C')
-rw-r--r--tksao/frame/grid3d.C9
1 files changed, 4 insertions, 5 deletions
diff --git a/tksao/frame/grid3d.C b/tksao/frame/grid3d.C
index 91cfb69..877a457 100644
--- a/tksao/frame/grid3d.C
+++ b/tksao/frame/grid3d.C
@@ -19,7 +19,7 @@ Grid3d::Grid3d(Widget* p, Coord::CoordSystem sys, Coord::SkyFrame sky,
Grid3d::~Grid3d()
{}
-int Grid3d::doit(RenderMode rm)
+void Grid3d::doit(RenderMode rm)
{
Frame3dBase* pp = (Frame3dBase*)parent_;
astGrid3dPtr =NULL;
@@ -41,7 +41,7 @@ int Grid3d::doit(RenderMode rm)
Context* context = pp->keyContext;
FitsImage* fits = context->fits;
if (!fits)
- return 1;
+ return;
astClearStatus; // just to make sure
astBegin; // start memory management
@@ -60,12 +60,12 @@ int Grid3d::doit(RenderMode rm)
// ast_ maybe NULL
if (!fits->ast_) {
astEnd; // now, clean up memory
- return 1;
+ return;
}
if (!fits->wcsInv()) {
astEnd; // now, clean up memory
- return 1;
+ return;
}
AstFrameSet* ast = (AstFrameSet*)astCopy(fits->ast_);
@@ -151,7 +151,6 @@ int Grid3d::doit(RenderMode rm)
astEnd; // now, clean up memory
astGrid3dPtr =NULL;
- return 1;
}
void Grid3d::matrixMap(void* frameSet, Matrix3d& mx, const char* str)