Selaa lähdekoodia

ColladaLoader: Improve logging

Mugen87 7 vuotta sitten
vanhempi
commit
e211f6cc16
1 muutettua tiedostoa jossa 4 lisäystä ja 0 poistoa
  1. 4 0
      examples/js/loaders/ColladaLoader.js

+ 4 - 0
examples/js/loaders/ColladaLoader.js

@@ -1632,6 +1632,8 @@ THREE.ColladaLoader.prototype = {
 
 			}
 
+			console.warn( 'THREE.ColladaLoader: Couldn\'t find camera with ID:', id );
+
 			return null;
 
 		}
@@ -1765,6 +1767,8 @@ THREE.ColladaLoader.prototype = {
 
 			}
 
+			console.warn( 'THREE.ColladaLoader: Couldn\'t find light with ID:', id );
+
 			return null;
 
 		}