Forráskód Böngészése

GLTFExporter: improve lights error using object, per review

Gary Oberbrunner 6 éve
szülő
commit
ae4512c1c5
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      examples/js/exporters/GLTFExporter.js

+ 1 - 1
examples/js/exporters/GLTFExporter.js

@@ -1754,7 +1754,7 @@ THREE.GLTFExporter.prototype = {
 
 			} else if ( object.isLight ) {
 
-				console.warn( 'THREE.GLTFExporter: Only directional, point, and spot lights are supported.' );
+				console.warn( 'THREE.GLTFExporter: Only directional, point, and spot lights are supported.', object );
 				return null;
 
 			}