Commit ce0aaafc authored by Thiago Santini's avatar Thiago Santini

Only show eyes if playback is set to real time

For the time being, the playback implementation is silly and will overload
the event loop.
parent 6ebf0634
......@@ -610,6 +610,7 @@ void PostProcessingWidget::present(const VideoFrame& videoFrame)
tuple.field.timestamp = videoFrame.t;
tuple.field.input = videoFrame.frame;
if (ui->realTimeCheckBox->isChecked()) { // TODO: only show eyes if playback in real time as to not overload the event loop
if (ui->showEyesCheckBox->isChecked()) {
// TODO:
// temporary solution to get the eye projection, fix later
......@@ -633,7 +634,7 @@ void PostProcessingWidget::present(const VideoFrame& videoFrame)
emit rightEyePresent(tuple.rEye);
}
}
}
emit present(tuple);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment