Showing the changes to interface/src/Application.cpp (1 of 3 files). Show all
Unified · Split
| @@ -548,7 +548,6 @@ Application::Application(int& argc, char** argv, QElapsedTimer &startup_time) : · 547 unmodified lines | ||
| 548 | 548 | this, &Application::checkSkeleton, Qt::QueuedConnection); |
| 549 | 549 | |
| 550 | 550 | // Setup the userInputMapper with the actions |
| 551 | − _userInputMapper.assignDefaulActionUnitScales(); | |
| 552 | 551 | // Setup the keyboardMouseDevice and the user input mapper with the default bindings |
| 553 | 552 | _keyboardMouseDevice.registerToUserInputMapper(_userInputMapper); |
| 554 | 553 | _keyboardMouseDevice.assignDefaultInputMapping(_userInputMapper); |
| @@ -2395,7 +2394,7 @@ void Application::update(float deltaTime) { · 1840 unmodified lines | ||
| 2395 | 2394 | } |
| 2396 | 2395 | |
| 2397 | 2396 | _userInputMapper.update(deltaTime); |
| 2398 | − _keyboardMouseDevice.resetDeltas(); // Probably should be a update call , the place where the deltas are cleaned for th enew loop | |
| 2397 | + _keyboardMouseDevice.update(); | |
| 2399 | 2398 | |
| 2400 | 2399 | // Dispatch input events |
| 2401 | 2400 | _controllerScriptingInterface.updateInputControllers(); |