From 25b0e0ee78b5a5d8a2088b40299bd7da6706fc05 Mon Sep 17 00:00:00 2001 From: William Joye Date: Tue, 13 Feb 2018 15:22:24 -0500 Subject: fix panner update problem --- ds9/doc/release/r7.6.html | 1 + tksao/frame/base.C | 7 ++++++- tksao/frame/frame3dbase.C | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ds9/doc/release/r7.6.html b/ds9/doc/release/r7.6.html index 5f47cda..5c344df 100644 --- a/ds9/doc/release/r7.6.html +++ b/ds9/doc/release/r7.6.html @@ -166,6 +166,7 @@
  • 01.12.2018 PREFS: add support for user defined precision.
  • 01.23.2018 XPA: upgrade xpa to fix an issue with gcc 7.2.
  • 02.12.2018 FITSY++: fixed an issue with the logic of locating keywords in current hdu and then the primary hdu.
  • +
  • 02.13.2018 GUI: fixed an issue with the panner not updating properly on initial load.
  • 04.15.2018 RELEASE version 7.6
  • diff --git a/tksao/frame/base.C b/tksao/frame/base.C index 1885f8e..5f780a3 100644 --- a/tksao/frame/base.C +++ b/tksao/frame/base.C @@ -1933,10 +1933,15 @@ int Base::updatePixmap(const BBox& bb) updateMatrices(); updatePannerMatrices(); case BASE: + updateBase(); updatePanner(); + case PIXMAP: + updatePM(bb); + break; + case BASEONLY: + // specal 3D updateBase(); - case PIXMAP: updatePM(bb); break; } diff --git a/tksao/frame/frame3dbase.C b/tksao/frame/frame3dbase.C index 79af645..248b495 100644 --- a/tksao/frame/frame3dbase.C +++ b/tksao/frame/frame3dbase.C @@ -789,7 +789,7 @@ void Frame3dBase::setSlice(int id, int ss) if (id==2) { currentContext->updateContours(); - update(BASEONLY); + update(PIXMAP); } else { // load the next cube -- cgit v0.12