From 96e07350b0d16b64093f1a6f7fd4d524536f214d Mon Sep 17 00:00:00 2001 From: acpaquette Date: Thu, 14 Mar 2024 08:16:32 -0700 Subject: [PATCH] Qview Sky Image Fixes (#5409) * Added changelog entry * Fixes findtool --- CHANGELOG.md | 1 + isis/src/qisis/objs/FindTool/FindTool.cpp | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 77c229fcab..5c32a0a7cb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -47,6 +47,7 @@ release. ### Added - Added 8 new functions to the Sensor Utility Library: Slant Distance, Target Center Distance, Right Ascension Declination, Local Solar Time, Line Resolution, Sample Resolution, Pixel Resolution, and Solar Longitude. +- Fixed TrackTool, FindTool, and AdvancedTrackTool not reporting RA and DEC for images targeting the Sky. [#5409](https://github.com/DOI-USGS/ISIS3/pull/5409) ## [8.1.0] - 2024-01-08 diff --git a/isis/src/qisis/objs/FindTool/FindTool.cpp b/isis/src/qisis/objs/FindTool/FindTool.cpp index b241c33186..690c2fefd9 100644 --- a/isis/src/qisis/objs/FindTool/FindTool.cpp +++ b/isis/src/qisis/objs/FindTool/FindTool.cpp @@ -464,6 +464,10 @@ namespace Isis { p_lat = activeViewport->camera()->Declination(); p_lon = activeViewport->camera()->RightAscension(); } + else { + p_lat = groundMap->UniversalLatitude(); + p_lon = groundMap->UniversalLongitude(); + } } else { p_lat = groundMap->UniversalLatitude();