mirror of
https://github.com/overte-org/overte.git
synced 2025-04-15 12:28:51 +02:00
some CR feedback
This commit is contained in:
parent
1c2096bc30
commit
df6437236e
2 changed files with 2 additions and 2 deletions
|
@ -1886,7 +1886,7 @@ function cleanup() {
|
|||
rightController.cleanup();
|
||||
leftController.cleanup();
|
||||
Controller.disableMapping(MAPPING_NAME);
|
||||
|
||||
Controller.setReticleVisible(true);
|
||||
}
|
||||
Script.scriptEnding.connect(cleanup);
|
||||
Script.update.connect(update);
|
||||
|
|
|
@ -21,7 +21,7 @@ HMDScriptingInterface::HMDScriptingInterface() {
|
|||
}
|
||||
|
||||
glm::vec3 HMDScriptingInterface::calculateRayUICollisionPoint(const glm::vec3& position, const glm::vec3& direction) const {
|
||||
glm::vec3 result { position };
|
||||
glm::vec3 result;
|
||||
qApp->getApplicationCompositor().calculateRayUICollisionPoint(position, direction, result);
|
||||
return result;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue