mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 04:59:54 +02:00
Merge pull request #11896 from druiz17/fix-hud-hmd-rc60
fix laser interaction on HUD in HMD mode
This commit is contained in:
commit
785eedfb1c
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@
|
||||||
|
|
||||||
this.pointingAtTablet = function(controllerData) {
|
this.pointingAtTablet = function(controllerData) {
|
||||||
var rayPick = controllerData.rayPicks[this.hand];
|
var rayPick = controllerData.rayPicks[this.hand];
|
||||||
return (rayPick.objectID === HMD.tabletScreenID || rayPick.objectID === HMD.homeButtonID);
|
return (HMD.tabletScreenID && HMD.homeButtonID && (rayPick.objectID === HMD.tabletScreenID || rayPick.objectID === HMD.homeButtonID));
|
||||||
};
|
};
|
||||||
|
|
||||||
this.getOtherModule = function() {
|
this.getOtherModule = function() {
|
||||||
|
|
Loading…
Reference in a new issue