mirror of
https://github.com/overte-org/overte.git
synced 2025-04-23 14:53:33 +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).
|
||||
var properties;
|
||||
|
||||
log("Create recording " + filename);
|
||||
log("Create recording entity for " + filename);
|
||||
|
||||
if (updateTimestampTimer !== null) {
|
||||
Script.clearInterval(updateTimestampTimer); // Just in case.
|
||||
|
@ -114,6 +114,7 @@
|
|||
return true;
|
||||
}
|
||||
|
||||
log("Could not create recording entity for " + filename);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -269,12 +270,12 @@
|
|||
|
||||
function play(recording, position, orientation) {
|
||||
if (Entity.create(recording, position, orientation)) {
|
||||
log("Play new recording " + recordingFilename);
|
||||
log("Play recording " + recordingFilename);
|
||||
isPlayingRecording = true;
|
||||
recordingFilename = recording;
|
||||
playRecording(recordingFilename, position, orientation);
|
||||
} else {
|
||||
log("Could not create entity to play new recording " + recordingFilename);
|
||||
log("Could not play recording " + recordingFilename);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue