mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 10:43:45 +02:00
Improve log messages
This commit is contained in:
parent
f74e29e4b0
commit
d7a4396daa
1 changed files with 4 additions and 3 deletions
|
@ -83,7 +83,7 @@
|
||||||
// Create a new persistence entity (even if already have one but that should never occur).
|
// Create a new persistence entity (even if already have one but that should never occur).
|
||||||
var properties;
|
var properties;
|
||||||
|
|
||||||
log("Create recording " + filename);
|
log("Create recording entity for " + filename);
|
||||||
|
|
||||||
if (updateTimestampTimer !== null) {
|
if (updateTimestampTimer !== null) {
|
||||||
Script.clearInterval(updateTimestampTimer); // Just in case.
|
Script.clearInterval(updateTimestampTimer); // Just in case.
|
||||||
|
@ -114,6 +114,7 @@
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
log("Could not create recording entity for " + filename);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -269,12 +270,12 @@
|
||||||
|
|
||||||
function play(recording, position, orientation) {
|
function play(recording, position, orientation) {
|
||||||
if (Entity.create(recording, position, orientation)) {
|
if (Entity.create(recording, position, orientation)) {
|
||||||
log("Play new recording " + recordingFilename);
|
log("Play recording " + recordingFilename);
|
||||||
isPlayingRecording = true;
|
isPlayingRecording = true;
|
||||||
recordingFilename = recording;
|
recordingFilename = recording;
|
||||||
playRecording(recordingFilename, position, orientation);
|
playRecording(recordingFilename, position, orientation);
|
||||||
} else {
|
} else {
|
||||||
log("Could not create entity to play new recording " + recordingFilename);
|
log("Could not play recording " + recordingFilename);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue