mirror of
https://github.com/overte-org/overte.git
synced 2025-04-14 17:46:52 +02:00
adjusted print statements
This commit is contained in:
parent
e84d0358cc
commit
b78e278102
1 changed files with 3 additions and 3 deletions
|
@ -67,7 +67,7 @@ function attach(obj) {
|
||||||
var key = "TrackedObject" + pad(attachedObj.puckno, 2);
|
var key = "TrackedObject" + pad(attachedObj.puckno, 2);
|
||||||
attachedObj.key = key;
|
attachedObj.key = key;
|
||||||
|
|
||||||
print("AJT: attachedObj = " + JSON.stringify(attachedObj));
|
print("PUCK-ATTACH: attachedObj = " + JSON.stringify(attachedObj));
|
||||||
|
|
||||||
Script.update.connect(update);
|
Script.update.connect(update);
|
||||||
update(0.001);
|
update(0.001);
|
||||||
|
@ -100,9 +100,9 @@ function update(dt) {
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
if (pose) {
|
if (pose) {
|
||||||
print("AJT: WARNING: invalid pose for " + attachedObj.key);
|
print("PUCK-ATTACH: WARNING: invalid pose for " + attachedObj.key);
|
||||||
} else {
|
} else {
|
||||||
print("AJT: WARNING: could not find key " + attachedObj.key);
|
print("PUCK-ATTACH: WARNING: could not find key " + attachedObj.key);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue