summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasem Mutlaq <mutlaqja@ikarustech.com>2016-09-24 20:10:51 (GMT)
committerJasem Mutlaq <mutlaqja@ikarustech.com>2016-09-24 20:10:51 (GMT)
commit4212cea000d99a88bf0afda6ac43841482ead28a (patch)
tree6f0379f48af92a89656c529cc67eff498ae9970e
parent82083ae2781efd7fbfc19688c8ff2d21178e2418 (diff)
Draw FOV even while alignment is in progress to display mid progress results on the sky map
-rw-r--r--kstars/skymapdrawabstract.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kstars/skymapdrawabstract.cpp b/kstars/skymapdrawabstract.cpp
index fb04db3..2811029 100644
--- a/kstars/skymapdrawabstract.cpp
+++ b/kstars/skymapdrawabstract.cpp
@@ -188,14 +188,14 @@ void SkyMapDrawAbstract::drawSolverFOV(QPainter &psky)
Ekos::Align *align = KStars::Instance()->ekosManager()->alignModule();
//if (align && align->isSolverComplete())
- if (align && align->getStatus() == Ekos::ALIGN_COMPLETE)
+ if (align && (align->getStatus() == Ekos::ALIGN_COMPLETE || align->getStatus() == Ekos::ALIGN_PROGRESS))
{
bool isVisible = false;
FOV * fov = align->fov();
if (fov == NULL)
return;
- SkyPoint p = fov->center();
+ SkyPoint p = fov->center();
if (std::isnan(p.ra().Degrees()))
return;