Changeset View
Changeset View
Standalone View
Standalone View
kstars/ekos/capture/capture.cpp
Show First 20 Lines • Show All 1327 Lines • ▼ Show 20 Line(s) | 1327 | { | |||
---|---|---|---|---|---|
1328 | pauseFunction = &Capture::startNextExposure; | 1328 | pauseFunction = &Capture::startNextExposure; | ||
1329 | appendLogText(i18n("Sequence paused.")); | 1329 | appendLogText(i18n("Sequence paused.")); | ||
1330 | secondsLabel->setText(i18n("Paused...")); | 1330 | secondsLabel->setText(i18n("Paused...")); | ||
1331 | m_State = CAPTURE_PAUSED; | 1331 | m_State = CAPTURE_PAUSED; | ||
1332 | setMeridianFlipStage(MF_READY); | 1332 | setMeridianFlipStage(MF_READY); | ||
1333 | return false; | 1333 | return false; | ||
1334 | } | 1334 | } | ||
1335 | 1335 | | |||
1336 | if (checkMeridianFlip()) | ||||
1337 | // execute flip before next capture | ||||
1338 | return false; | ||||
1339 | | ||||
1336 | if (seqDelay > 0) | 1340 | if (seqDelay > 0) | ||
1337 | { | 1341 | { | ||
1338 | secondsLabel->setText(i18n("Waiting...")); | 1342 | secondsLabel->setText(i18n("Waiting...")); | ||
1339 | m_State = CAPTURE_WAITING; | 1343 | m_State = CAPTURE_WAITING; | ||
1340 | emit newStatus(Ekos::CAPTURE_WAITING); | 1344 | emit newStatus(Ekos::CAPTURE_WAITING); | ||
1341 | } | 1345 | } | ||
1342 | 1346 | | |||
1343 | seqTimer->start(seqDelay); | 1347 | seqTimer->start(seqDelay); | ||
▲ Show 20 Lines • Show All 3108 Lines • ▼ Show 20 Line(s) | 4455 | { | |||
4452 | if (currentTelescope == nullptr || meridianCheck->isChecked() == false) | 4456 | if (currentTelescope == nullptr || meridianCheck->isChecked() == false) | ||
4453 | return false; | 4457 | return false; | ||
4454 | 4458 | | |||
4455 | // If active job is taking flat field image at a wall source | 4459 | // If active job is taking flat field image at a wall source | ||
4456 | // then do not flip. | 4460 | // then do not flip. | ||
4457 | if (activeJob && activeJob->getFrameType() == FRAME_FLAT && activeJob->getFlatFieldSource() == SOURCE_WALL) | 4461 | if (activeJob && activeJob->getFrameType() == FRAME_FLAT && activeJob->getFlatFieldSource() == SOURCE_WALL) | ||
4458 | return false; | 4462 | return false; | ||
4459 | 4463 | | |||
4460 | if (meridianFlipStage == MF_NONE) | 4464 | if (meridianFlipStage == MF_NONE || meridianFlipStage > MF_READY) | ||
4465 | // if no flip has been requested or is already ongoing | ||||
4461 | return false; | 4466 | return false; | ||
4462 | 4467 | | |||
4463 | // meridian flip requested or already in action | 4468 | // meridian flip requested or already in action | ||
4464 | 4469 | | |||
4465 | // Reset frame if we need to do focusing later on | 4470 | // Reset frame if we need to do focusing later on | ||
4466 | if (isInSequenceFocus || (refocusEveryNCheck->isChecked() && getRefocusEveryNTimerElapsedSec() > 0)) | 4471 | if (isInSequenceFocus || (refocusEveryNCheck->isChecked() && getRefocusEveryNTimerElapsedSec() > 0)) | ||
4467 | emit resetFocus(); | 4472 | emit resetFocus(); | ||
4468 | 4473 | | |||
▲ Show 20 Lines • Show All 1621 Lines • Show Last 20 Lines |