summaryrefslogtreecommitdiffstats
path: root/tksao
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2018-10-30 20:23:52 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2018-10-30 20:23:52 (GMT)
commit5295480944cc7d720c10bbbb8ce5287056ba1c84 (patch)
treebfe4685fb625c49683d2ede6c97059fd7749dcc3 /tksao
parent8c3a00c22ddf6c742903bbcc8a08069c7245b74a (diff)
downloadblt-5295480944cc7d720c10bbbb8ce5287056ba1c84.zip
blt-5295480944cc7d720c10bbbb8ce5287056ba1c84.tar.gz
blt-5295480944cc7d720c10bbbb8ce5287056ba1c84.tar.bz2
fix WFPC2 issue with blocking
Diffstat (limited to 'tksao')
-rw-r--r--tksao/frame/base.h2
-rw-r--r--tksao/frame/context.C2
2 files changed, 2 insertions, 2 deletions
diff --git a/tksao/frame/base.h b/tksao/frame/base.h
index 817107c..a558e71 100644
--- a/tksao/frame/base.h
+++ b/tksao/frame/base.h
@@ -124,7 +124,7 @@ public:
enum MemType {ALLOC, ALLOCGZ, CHANNEL, MMAP, SMMAP, MMAPINCR,
SHARE, SSHARE, SOCKET, SOCKETGZ, VAR, HIST, POST, PHOTO};
- enum MosaicType {NOMOSAIC, IRAF, WCSMOSAIC, WFPC2};
+ enum MosaicType {NOMOSAIC, IRAF, WCSMOSAIC};
enum LayerType {IMG, MASK};
enum CutMethod {SUM,AVERAGE};
diff --git a/tksao/frame/context.C b/tksao/frame/context.C
index 05dff3d..7ea5c43 100644
--- a/tksao/frame/context.C
+++ b/tksao/frame/context.C
@@ -1249,7 +1249,7 @@ int Context::loadMosaicWFPC2(Base::MemType which, const char* fn,
// Its legal, save it
bfits_ = img;
- loadInit(1, Base::WFPC2, Coord::WCS);
+ loadInit(1, Base::WCSMOSAIC, Coord::WCS);
// remember in case of compress
Base::MemType sav = which;