mirror of
https://github.com/overte-org/overte.git
synced 2025-04-25 20:16:16 +02:00
Fix for Leap drive enabled without Leap.
This commit is contained in:
parent
3137e9a3e6
commit
053d6b1e71
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue