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