Showing the changes to interface/src/Application.cpp (1 of 3 files). Show all
Unified · Split
| @@ -2033,6 +2033,7 @@ void Application::update(float deltaTime) { · 2032 unmodified lines | |||
| 2033 | // Leap finger-sensing device | 2033 | // Leap finger-sensing device |
| 2034 | LeapManager::enableFakeFingers(_simulateLeapHand->isChecked() || _testRaveGlove->isChecked()); | 2034 | LeapManager::enableFakeFingers(_simulateLeapHand->isChecked() || _testRaveGlove->isChecked()); |
| 2035 | LeapManager::nextFrame(); | 2035 | LeapManager::nextFrame(); |
| 2036 | _myAvatar.getHand().setRaveGloveActive(_testRaveGlove->isChecked()); | ||
| 2036 | _myAvatar.getHand().setLeapFingers(LeapManager::getFingerTips(), LeapManager::getFingerRoots()); | 2037 | _myAvatar.getHand().setLeapFingers(LeapManager::getFingerTips(), LeapManager::getFingerRoots()); |
| 2037 | _myAvatar.getHand().setLeapHands(LeapManager::getHandPositions(), LeapManager::getHandNormals()); | 2038 | _myAvatar.getHand().setLeapHands(LeapManager::getHandPositions(), LeapManager::getHandNormals()); |
| 2038 | 2039 | ||