mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
use boolean from RTClick and LTClick
This commit is contained in:
parent
760223a550
commit
f02f619597
1 changed files with 2 additions and 2 deletions
|
@ -191,8 +191,8 @@ function controllerComputePickRay(hand) {
|
|||
}
|
||||
|
||||
function makeClickHandler(hand) {
|
||||
return function (value) {
|
||||
if (isShowingOverlays) {
|
||||
return function(clicked) {
|
||||
if (clicked && isShowingOverlays) {
|
||||
var pickRay = controllerComputePickRay(hand);
|
||||
if (pickRay) {
|
||||
var overlayIntersection = Overlays.findRayIntersection(pickRay);
|
||||
|
|
Loading…
Reference in a new issue