Showing the changes to interface/src/Application.cpp (1 of 7 files). Show all
Unified · Split
| @@ -2103,10 +2103,8 @@ void Application::update(float deltaTime) { · 2102 unmodified lines | ||
| 2103 | 2103 | |
| 2104 | 2104 | // Leap finger-sensing device |
| 2105 | 2105 | LeapManager::enableFakeFingers(_simulateLeapHand->isChecked() || _testRaveGlove->isChecked()); |
| 2106 | − LeapManager::nextFrame(); | |
| 2107 | 2106 | _myAvatar.getHand().setRaveGloveActive(_testRaveGlove->isChecked()); |
| 2108 | − _myAvatar.getHand().setLeapFingers(LeapManager::getFingerTips(), LeapManager::getFingerRoots()); | |
| 2109 | − _myAvatar.getHand().setLeapHands(LeapManager::getHandPositions(), LeapManager::getHandNormals()); | |
| 2107 | + LeapManager::nextFrame(_myAvatar); | |
| 2110 | 2108 | |
| 2111 | 2109 | // Read serial port interface devices |
| 2112 | 2110 | if (_serialHeadSensor.isActive()) { |