diff --git a/interface/src/Application.cpp b/interface/src/Application.cpp index 56469938ff..e6433d845a 100755 --- a/interface/src/Application.cpp +++ b/interface/src/Application.cpp @@ -1472,7 +1472,8 @@ void Application::initMenu() { (_testPing = optionsMenu->addAction("Test Ping"))->setCheckable(true); _testPing->setChecked(true); (_fullScreenMode = optionsMenu->addAction("Fullscreen", this, SLOT(setFullscreen(bool)), Qt::Key_F))->setCheckable(true); - optionsMenu->addAction("Webcam", &_webcam, SLOT(setEnabled(bool)))->setCheckable(true); + optionsMenu->addAction("Webcam", &_webcam, SLOT(setEnabled(bool)))->setCheckable(true); + optionsMenu->addAction("Go Home", this, SLOT(goHome())); QMenu* renderMenu = menuBar->addMenu("Render"); (_renderVoxels = renderMenu->addAction("Voxels"))->setCheckable(true); diff --git a/interface/src/Head.cpp b/interface/src/Head.cpp index 75c62ce87e..66f2123e2b 100644 --- a/interface/src/Head.cpp +++ b/interface/src/Head.cpp @@ -228,6 +228,9 @@ void Head::simulate(float deltaTime, bool isMine) { const float CAMERA_STOP_TOLERANCE_DEGREES = 0.25f; const float CAMERA_START_TOLERANCE_DEGREES = 15.0f; float cameraHeadAngleDifference = glm::length(glm::vec2(_pitch - _cameraPitch, _yaw - _cameraYaw)); + //if (cameraHeadAngleDifference > 0.1f) { + // printLog("angleDiff = %0.2f\n", cameraHeadAngleDifference); + //} if (_isCameraMoving) { _cameraFollowHeadRate = glm::clamp(_cameraFollowHeadRate * CAMERA_FOLLOW_HEAD_RATE_RAMP_RATE, 0.f,