Fix for Leap drive enabled without Leap.

This commit is contained in:
Andrzej Kapolka 2013-11-21 14:01:12 -08:00
parent 3137e9a3e6
commit 053d6b1e71

View file

@ -271,7 +271,7 @@ void LeapManager::nextFrame() {
hand.updateFingerTrails();
// if Leap drive is enabled, drive avatar based on Leap input
if (!Menu::getInstance()->isOptionChecked(MenuOption::LeapDrive)) {
if (!(Menu::getInstance()->isOptionChecked(MenuOption::LeapDrive) && gotRealData)) {
return;
}
glm::vec3 relativePosition;