mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01: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) {
|
function InVREditMode(hand) {
|
||||||
this.hand = hand;
|
this.hand = hand;
|
||||||
this.disableModules = false;
|
this.disableModules = false;
|
||||||
|
var NO_HAND_LASER = -1; // Invalid hand parameter so that default laser is not displayed.
|
||||||
this.parameters = makeDispatcherModuleParameters(
|
this.parameters = makeDispatcherModuleParameters(
|
||||||
200, // Not too high otherwise the tablet laser doesn't work.
|
200, // Not too high otherwise the tablet laser doesn't work.
|
||||||
this.hand === RIGHT_HAND
|
this.hand === RIGHT_HAND
|
||||||
|
@ -26,7 +27,7 @@ Script.include("/~/system/libraries/controllerDispatcherUtils.js");
|
||||||
: ["leftHand", "leftHandEquip", "leftHandTrigger"],
|
: ["leftHand", "leftHandEquip", "leftHandTrigger"],
|
||||||
[],
|
[],
|
||||||
100,
|
100,
|
||||||
makeLaserParams(-1, false) // Invalid hand parameter so that default laser is not displayed.
|
makeLaserParams(NO_HAND_LASER, false)
|
||||||
);
|
);
|
||||||
|
|
||||||
this.pointingAtTablet = function (objectID) {
|
this.pointingAtTablet = function (objectID) {
|
||||||
|
|
Loading…
Reference in a new issue