summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasem Mutlaq <mutlaqja@ikarustech.com>2016-10-20 08:39:15 (GMT)
committerJasem Mutlaq <mutlaqja@ikarustech.com>2016-10-20 08:39:15 (GMT)
commit8bd4d477681550a1b6cd8d2398e725b6bdd9f4ea (patch)
tree861a2bf6bb9e96fb12279697501c060e36aabe52
parent38d88a10185b51e4fd234b6f7741df2ace6c1766 (diff)
If we are in autofocus, we need to proceed with capture after autostar is selected without subframe
-rw-r--r--kstars/ekos/focus/focus.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/kstars/ekos/focus/focus.cpp b/kstars/ekos/focus/focus.cpp
index 06a35c2..8073118 100644
--- a/kstars/ekos/focus/focus.cpp
+++ b/kstars/ekos/focus/focus.cpp
@@ -1196,6 +1196,9 @@ void Focus::setCaptureComplete()
starCenter.setX(maxStar->x);
starCenter.setY(maxStar->y);
starCenter.setZ(subBinX);
+
+ if (inAutoFocus)
+ capture();
}
syncTrackingBoxPosition();