Browse Source

Merge pull request #12870 from Mugen87/dev6

ColladaLoader: Improve logging
Mr.doob 7 years ago
parent
commit
da8083a904
1 changed files with 4 additions and 0 deletions
  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;
 
 		}