From 8d653233456a0a2eeb21e0b90275117c9cfbc84d Mon Sep 17 00:00:00 2001 From: Andrzej Kapolka Date: Mon, 19 Aug 2013 13:14:35 -0700 Subject: [PATCH] Restore the gyro-only lean behavior based on linear accelerometer data. --- interface/src/avatar/Avatar.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/interface/src/avatar/Avatar.cpp b/interface/src/avatar/Avatar.cpp index 2879c7ded0..02d982a2ca 100755 --- a/interface/src/avatar/Avatar.cpp +++ b/interface/src/avatar/Avatar.cpp @@ -323,6 +323,7 @@ void Avatar::updateFromGyrosAndOrWebcam(bool gyroLook, Webcam* webcam = Application::getInstance()->getWebcam(); glm::vec3 estimatedPosition, estimatedRotation; if (gyros->isActive()) { + estimatedPosition = gyros->getEstimatedPosition(); estimatedRotation = gyros->getEstimatedRotation(); } else if (webcam->isActive()) {