mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 16:14:35 +02:00
Typos
This commit is contained in:
parent
6bdd498ecf
commit
6d9bf2b33e
1 changed files with 4 additions and 4 deletions
|
@ -286,7 +286,7 @@
|
||||||
function play(user, recording, position, orientation) {
|
function play(user, recording, position, orientation) {
|
||||||
var errorMessage;
|
var errorMessage;
|
||||||
|
|
||||||
if (autoPlayTimer) { // Cancel autoplay.
|
if (autoPlayTimer) { // Cancel auto-play.
|
||||||
Script.clearTimeout(autoPlayTimer);
|
Script.clearTimeout(autoPlayTimer);
|
||||||
autoPlayTimer = null;
|
autoPlayTimer = null;
|
||||||
}
|
}
|
||||||
|
@ -295,7 +295,7 @@
|
||||||
|
|
||||||
if (Entity.create(recording, position, orientation)) {
|
if (Entity.create(recording, position, orientation)) {
|
||||||
log("Play recording " + recording);
|
log("Play recording " + recording);
|
||||||
isPlayingRecording = true;
|
isPlayingRecording = true; // Immediate feedback.
|
||||||
recordingFilename = recording;
|
recordingFilename = recording;
|
||||||
playRecording(recordingFilename, position, orientation);
|
playRecording(recordingFilename, position, orientation);
|
||||||
} else {
|
} else {
|
||||||
|
@ -303,7 +303,7 @@
|
||||||
log(errorMessage);
|
log(errorMessage);
|
||||||
error(errorMessage);
|
error(errorMessage);
|
||||||
|
|
||||||
autoPlayTimer = Script.setTimeout(autoPlay, AUTOPLAY_ERROR_INTERVAL); // Resume autoplay later.
|
autoPlayTimer = Script.setTimeout(autoPlay, AUTOPLAY_ERROR_INTERVAL); // Resume auto-play later.
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -315,7 +315,7 @@
|
||||||
Script.setTimeout(function () {
|
Script.setTimeout(function () {
|
||||||
recording = Entity.find();
|
recording = Entity.find();
|
||||||
if (recording) {
|
if (recording) {
|
||||||
log("Play persisted recording " + recordingFilename);
|
log("Play persisted recording " + recording.recording);
|
||||||
userID = null;
|
userID = null;
|
||||||
playRecording(recording.recording, recording.position, recording.orientation);
|
playRecording(recording.recording, recording.position, recording.orientation);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue