From 151e8b38fa25484445525fce072618e82fa5e70c Mon Sep 17 00:00:00 2001 From: William Joye Date: Fri, 26 May 2017 14:38:04 -0400 Subject: fixed load/paste contours --- ds9/doc/release/r7.6.html | 2 ++ tksao/frame/context.C | 2 ++ 2 files changed, 4 insertions(+) diff --git a/ds9/doc/release/r7.6.html b/ds9/doc/release/r7.6.html index 9f2e183..765cad4 100644 --- a/ds9/doc/release/r7.6.html +++ b/ds9/doc/release/r7.6.html @@ -93,6 +93,8 @@
  • 05.04.2017 REGION: fixed problem with dashed Pandas X11 render.
  • 05.15.2017 RELEASE version 7.6b1
  • +
  • 05.26.2017 CONTOURS: Fixed a problem with load/paste contours.
  • +
  • xx.xx.2017 RELEASE version 7.6b2
  • diff --git a/tksao/frame/context.C b/tksao/frame/context.C index 08c3568..94a81f2 100644 --- a/tksao/frame/context.C +++ b/tksao/frame/context.C @@ -429,6 +429,7 @@ void Context::clearHist() void Context::contourAppendAux(ContourLevel* ct) { auxcontours_.append(ct); + hasAuxContour_ =1; } void Context::contourCreateFV(const char* color, int width, int dash, @@ -597,6 +598,7 @@ void Context::contourLoadAux(istream& str, } auxcontours_.append(cl); + hasAuxContour_ =1; } void Context::contourPS(Widget::PSColorSpace cs) -- cgit v0.12