mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-04 17:16:09 +02:00
Don't start calibration if the camera is muted
This commit is contained in:
parent
e26147fc94
commit
15b8dc4144
1 changed files with 4 additions and 0 deletions
|
@ -558,6 +558,10 @@ static const float CALIBRATION_BILLBOARD_ALPHA = 0.5f;
|
|||
static QString CALIBRATION_INSTRUCTION_MESSAGE = "Hold still to calibrate camera";
|
||||
|
||||
void DdeFaceTracker::calibrate() {
|
||||
if (!Menu::getInstance()->isOptionChecked(MenuOption::UseCamera) || _isMuted) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!_isCalibrating) {
|
||||
qCDebug(interfaceapp) << "DDE Face Tracker: Calibration started";
|
||||
|
||||
|
|
Loading…
Reference in a new issue