History

Centrilized Oculus interference in pickRay

Atlante45 committed 11 years ago

Commit 7026af71 parent 3b6936b7 files · +103 −96Browse files

Showing the changes to interface/src/scripting/JoystickScriptingInterface.cpp (1 of 7 files). Show all

Unified · Split

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

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t