mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 23:40:11 +02:00
cleanup
This commit is contained in:
parent
108e7a2fc1
commit
7fae7e9c77
2 changed files with 32 additions and 34 deletions
|
@ -26,8 +26,8 @@
|
|||
|
||||
{ "from": [ "Hydra.L1", "Hydra.L3" ], "to": "Standard.LeftPrimaryThumb" },
|
||||
{ "from": [ "Hydra.R1", "Hydra.R3" ], "to": "Standard.RightPrimaryThumb" },
|
||||
|
||||
|
||||
{ "from": [ "Hydra.R2", "Hydra.R4" ], "to": "Standard.RightSecondaryThumb" },
|
||||
{ "from": [ "Hydra.L2", "Hydra.L4" ], "to": "Standard.LeftSecondaryThumb" },
|
||||
{ "from": "Hydra.LeftHand", "to": "Standard.LeftHand" },
|
||||
{ "from": "Hydra.RightHand", "to": "Standard.RightHand" }
|
||||
]
|
||||
|
|
|
@ -667,10 +667,8 @@ function cleanup() {
|
|||
var isDisabled = false;
|
||||
var handleHandMessages = function(channel, message, sender) {
|
||||
var data;
|
||||
print('its a message')
|
||||
if (sender === MyAvatar.sessionUUID) {
|
||||
if (channel === 'Hifi-Teleport-Disabler') {
|
||||
print('got teleport disabler message' + message)
|
||||
if (message === 'disable') {
|
||||
isDisabled = true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue