mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-04 04:24:47 +02:00
obscure the code and increase the likelihood of future whitespace-only diffs
This commit is contained in:
parent
883f9c09bf
commit
3fdd7ca470
1 changed files with 9 additions and 9 deletions
|
@ -98,16 +98,16 @@ function goActive(event) {
|
||||||
if (event.text === '.') {
|
if (event.text === '.') {
|
||||||
goAway(event);
|
goAway(event);
|
||||||
}
|
}
|
||||||
return;
|
} else {
|
||||||
|
isAway = false;
|
||||||
|
print('going "active"');
|
||||||
|
if (!wasMuted) {
|
||||||
|
AudioDevice.toggleMute();
|
||||||
|
}
|
||||||
|
MyAvatar.setEnableMeshVisible(true); // IWBNI we respected Developer->Avatar->Draw Mesh setting.
|
||||||
|
stopAwayAnimation();
|
||||||
|
hideOverlay();
|
||||||
}
|
}
|
||||||
isAway = false;
|
|
||||||
print('going "active"');
|
|
||||||
if (!wasMuted) {
|
|
||||||
AudioDevice.toggleMute();
|
|
||||||
}
|
|
||||||
MyAvatar.setEnableMeshVisible(true); // IWBNI we respected Developer->Avatar->Draw Mesh setting.
|
|
||||||
stopAwayAnimation();
|
|
||||||
hideOverlay();
|
|
||||||
}
|
}
|
||||||
Controller.keyPressEvent.connect(goActive);
|
Controller.keyPressEvent.connect(goActive);
|
||||||
Script.scriptEnding.connect(goActive);
|
Script.scriptEnding.connect(goActive);
|
||||||
|
|
Loading…
Reference in a new issue