mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 02:36:54 +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";
|
static QString CALIBRATION_INSTRUCTION_MESSAGE = "Hold still to calibrate camera";
|
||||||
|
|
||||||
void DdeFaceTracker::calibrate() {
|
void DdeFaceTracker::calibrate() {
|
||||||
|
if (!Menu::getInstance()->isOptionChecked(MenuOption::UseCamera) || _isMuted) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (!_isCalibrating) {
|
if (!_isCalibrating) {
|
||||||
qCDebug(interfaceapp) << "DDE Face Tracker: Calibration started";
|
qCDebug(interfaceapp) << "DDE Face Tracker: Calibration started";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue