mirror of
https://github.com/overte-org/overte.git
synced 2025-04-22 13:13:25 +02:00
Fix magic number
This commit is contained in:
parent
6095a90e69
commit
02f4085368
1 changed files with 2 additions and 1 deletions
|
@ -19,6 +19,7 @@ Script.include("/~/system/libraries/controllerDispatcherUtils.js");
|
|||
function InVREditMode(hand) {
|
||||
this.hand = hand;
|
||||
this.disableModules = false;
|
||||
var NO_HAND_LASER = -1; // Invalid hand parameter so that default laser is not displayed.
|
||||
this.parameters = makeDispatcherModuleParameters(
|
||||
200, // Not too high otherwise the tablet laser doesn't work.
|
||||
this.hand === RIGHT_HAND
|
||||
|
@ -26,7 +27,7 @@ Script.include("/~/system/libraries/controllerDispatcherUtils.js");
|
|||
: ["leftHand", "leftHandEquip", "leftHandTrigger"],
|
||||
[],
|
||||
100,
|
||||
makeLaserParams(-1, false) // Invalid hand parameter so that default laser is not displayed.
|
||||
makeLaserParams(NO_HAND_LASER, false)
|
||||
);
|
||||
|
||||
this.pointingAtTablet = function (objectID) {
|
||||
|
|
Loading…
Reference in a new issue