mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 13:03:55 +02:00
no laser (or mouse cursor) from hand controllers unless trigger squeezed
This commit is contained in:
parent
f5446cc4e4
commit
ae65790bf3
1 changed files with 1 additions and 1 deletions
|
@ -377,7 +377,7 @@ function turnOffVisualization(optionalEnableClicks) { // because we're showing c
|
|||
if (!optionalEnableClicks) {
|
||||
expireMouseCursor();
|
||||
clearSystemLaser();
|
||||
} else if (!systemLaserOn) {
|
||||
} else if (!systemLaserOn && activeTrigger.state) {
|
||||
// If the active plugin doesn't implement hand lasers, show the mouse reticle instead.
|
||||
systemLaserOn = HMD.setHandLasers(activeHudLaser, true, LASER_COLOR_XYZW, SYSTEM_LASER_DIRECTION);
|
||||
Reticle.visible = !systemLaserOn;
|
||||
|
|
Loading…
Reference in a new issue