remove some warnings and todos
parent
4fbd3424c6
commit
8d0a0c6840
|
@ -147,9 +147,9 @@ GameLib.D3.Geometry.prototype.updateInstance = function(property) {
|
|||
|
||||
if (property === 'parentMesh') {
|
||||
if (this.parentMesh) {
|
||||
console.log('geometry assigned to new parent mesh ' + this.parentMesh.name);
|
||||
// console.log('geometry assigned to new parent mesh ' + this.parentMesh.name);
|
||||
} else {
|
||||
console.log('geometry removed from parent');
|
||||
// console.log('geometry removed from parent');
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -195,8 +195,6 @@ GameLib.D3.Mesh.prototype.createInstance = function() {
|
|||
GameLib.Utils.Defined(this.parentScene.instance)
|
||||
) {
|
||||
this.parentScene.addObject(this);
|
||||
} else {
|
||||
console.warn('parent scene not linked yet');
|
||||
}
|
||||
|
||||
this.instance.position.x = this.position.x;
|
||||
|
@ -245,9 +243,7 @@ GameLib.D3.Mesh.prototype.createInstance = function() {
|
|||
*/
|
||||
this.morphTargetInfluences = this.instance.morphTargetInfluences;
|
||||
this.morphTargetDictionary = this.instance.morphTargetDictionary;
|
||||
|
||||
console.log('mesh instance created: ' + this.name);
|
||||
|
||||
|
||||
GameLib.Component.prototype.createInstance.call(this);
|
||||
};
|
||||
|
||||
|
|
|
@ -376,7 +376,7 @@ GameLib.D3.Scene.prototype.addObject = function(object) {
|
|||
this.instance.add(object.instance);
|
||||
}
|
||||
} else {
|
||||
console.warn('either scene or mesh instance not ready');
|
||||
// console.warn('either scene or mesh instance not ready');
|
||||
}
|
||||
|
||||
// if (this.parentEntity) {
|
||||
|
|
|
@ -59,7 +59,7 @@ GameLib.D3.Shadow.Directional.prototype.updateInstance = function(property) {
|
|||
|
||||
if (property === 'camera') {
|
||||
|
||||
console.warn('todo: updateInstance for directional shadow camera instance');
|
||||
//console.warn('todo: updateInstance for directional shadow camera instance');
|
||||
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -858,7 +858,7 @@ GameLib.System.Storage.prototype.loadImage = function(data, callback, errorCallb
|
|||
|
||||
window.URL = window.URL || window.webkitURL;
|
||||
|
||||
console.log(image.name + ' - response type : ' + this.response.type);
|
||||
//console.log(image.name + ' - response type : ' + this.response.type);
|
||||
|
||||
var url;
|
||||
|
||||
|
|
Loading…
Reference in New Issue