Showing the changes to interface/src/scripting/JoystickScriptingInterface.cpp (1 of 1 file). Show all
Unified · Split
| @@ -133,8 +133,8 @@ void JoystickScriptingInterface::update() { · 132 unmodified lines | ||
| 133 | 133 | |
| 134 | 134 | // global action events fire in the center of the screen |
| 135 | 135 | Application* app = Application::getInstance(); |
| 136 | − PickRay pickRay = app->getCamera()->computeViewPickRay(app->getTrueMouseX(), | |
| 137 | − app->getTrueMouseY()); | |
| 136 | + PickRay pickRay = app->getCamera()->computePickRay(app->getTrueMouseX(), | |
| 137 | + app->getTrueMouseY()); | |
| 138 | 138 | HFActionEvent actionEvent(actionType, pickRay); |
| 139 | 139 | qApp->sendEvent(qApp, &actionEvent); |
| 140 | 140 | } |