summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasem Mutlaq <mutlaqja@ikarustech.com>2016-09-14 22:04:22 (GMT)
committerJasem Mutlaq <mutlaqja@ikarustech.com>2016-09-14 22:04:22 (GMT)
commite52c841c6c7631a99ccdecbb26c5d7e6e2f9d506 (patch)
tree5ab6146a8b06d1885b6cf47986ada6cff698e08b
parent020015c4be6d85a06b362e68cdfdbd4a914eb8cd (diff)
Always set filterReady to true if the frame type is either bias or dark
-rw-r--r--kstars/ekos/sequencejob.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/kstars/ekos/sequencejob.cpp b/kstars/ekos/sequencejob.cpp
index 65bc739..b5b3215 100644
--- a/kstars/ekos/sequencejob.cpp
+++ b/kstars/ekos/sequencejob.cpp
@@ -115,7 +115,9 @@ void SequenceJob::prepareCapture()
activeChip->setISOIndex(isoIndex);
}
- if (targetFilter != -1 && activeFilter != NULL)
+ if (frameType == FRAME_DARK || frameType == FRAME_BIAS)
+ filterReady = true;
+ else if (targetFilter != -1 && activeFilter != NULL)
{
if (targetFilter == currentFilter)
filterReady = true;