mirror of
https://github.com/overte-org/overte.git
synced 2025-08-11 09:53:30 +02:00
Prints cleanup
This commit is contained in:
parent
6b4845abf3
commit
5fadcbe7d9
1 changed files with 1 additions and 8 deletions
|
@ -60,13 +60,7 @@
|
||||||
lightProperties.position = Vec3.sum(entityProperties.position,
|
lightProperties.position = Vec3.sum(entityProperties.position,
|
||||||
Vec3.multiplyQbyV(entityProperties.rotation,
|
Vec3.multiplyQbyV(entityProperties.rotation,
|
||||||
lightProperties.position));
|
lightProperties.position));
|
||||||
|
return Entities.addEntity(lightProperties);
|
||||||
print(lightProperties);
|
|
||||||
print(JSON.stringify(lightProperties));
|
|
||||||
var newLight = Entities.addEntity(lightProperties);
|
|
||||||
print(newLight);
|
|
||||||
print(JSON.stringify(newLight));
|
|
||||||
return newLight;
|
|
||||||
} else {
|
} else {
|
||||||
print("Warning: light controller has no default light.");
|
print("Warning: light controller has no default light.");
|
||||||
return null;
|
return null;
|
||||||
|
@ -168,7 +162,6 @@
|
||||||
updateUserData(this.entityID, userData);
|
updateUserData(this.entityID, userData);
|
||||||
|
|
||||||
print("Relative properties of light entity saved.");
|
print("Relative properties of light entity saved.");
|
||||||
print(JSON.stringify(userData));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
this.preload = function(entityID) {
|
this.preload = function(entityID) {
|
||||||
|
|
Loading…
Reference in a new issue