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 | // Leap finger-sensing device | 2104 | // Leap finger-sensing device |
| 2105 | LeapManager::enableFakeFingers(_simulateLeapHand->isChecked() || _testRaveGlove->isChecked()); | 2105 | LeapManager::enableFakeFingers(_simulateLeapHand->isChecked() || _testRaveGlove->isChecked()); |
| 2106 | LeapManager::nextFrame(); | ||
| 2107 | _myAvatar.getHand().setRaveGloveActive(_testRaveGlove->isChecked()); | 2106 | _myAvatar.getHand().setRaveGloveActive(_testRaveGlove->isChecked()); |
| 2108 | _myAvatar.getHand().setLeapFingers(LeapManager::getFingerTips(), LeapManager::getFingerRoots()); | 2107 | LeapManager::nextFrame(_myAvatar); |
| 2109 | _myAvatar.getHand().setLeapHands(LeapManager::getHandPositions(), LeapManager::getHandNormals()); | ||
| 2110 | 2108 | ||
| 2111 | // Read serial port interface devices | 2109 | // Read serial port interface devices |
| 2112 | if (_serialHeadSensor.isActive()) { | 2110 | if (_serialHeadSensor.isActive()) { |