summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasem Mutlaq <mutlaqja@ikarustech.com>2016-10-24 10:50:20 (GMT)
committerJasem Mutlaq <mutlaqja@ikarustech.com>2016-10-24 10:50:20 (GMT)
commitc9930ea268c9667b9368d98f4ecd0d7f128fa927 (patch)
treead82c147d0cd6760f1d285eb5edcb91c410788aa
parentfc982bf67c311ca1aa1bd418f2215f1380859d18 (diff)
Some fixes to guiding with dark frames
-rw-r--r--kstars/ekos/guide/guide.cpp11
1 files changed, 9 insertions, 2 deletions
diff --git a/kstars/ekos/guide/guide.cpp b/kstars/ekos/guide/guide.cpp
index d7aad06..85a4c7d 100644
--- a/kstars/ekos/guide/guide.cpp
+++ b/kstars/ekos/guide/guide.cpp
@@ -742,14 +742,21 @@ void Guide::newFITS(IBLOB *bp)
syncTrackingBoxPosition();
- if (operationStack.isEmpty())
+ setCaptureComplete();
+ /*if (operationStack.isEmpty())
setCaptureComplete();
else
- executeOperationStack();
+ executeOperationStack();*/
}
void Guide::setCaptureComplete()
{
+ if (operationStack.isEmpty() == false)
+ {
+ executeOperationStack();
+ return;
+ }
+
DarkLibrary::Instance()->disconnect(this);
switch (state)