mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 03:44:02 +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,
|
||||
Vec3.multiplyQbyV(entityProperties.rotation,
|
||||
lightProperties.position));
|
||||
|
||||
print(lightProperties);
|
||||
print(JSON.stringify(lightProperties));
|
||||
var newLight = Entities.addEntity(lightProperties);
|
||||
print(newLight);
|
||||
print(JSON.stringify(newLight));
|
||||
return newLight;
|
||||
return Entities.addEntity(lightProperties);
|
||||
} else {
|
||||
print("Warning: light controller has no default light.");
|
||||
return null;
|
||||
|
@ -168,7 +162,6 @@
|
|||
updateUserData(this.entityID, userData);
|
||||
|
||||
print("Relative properties of light entity saved.");
|
||||
print(JSON.stringify(userData));
|
||||
}
|
||||
|
||||
this.preload = function(entityID) {
|
||||
|
|
Loading…
Reference in a new issue