Skip to content

Commit

Permalink
Merge pull request mrdoob#15994 from garyo/fix/gltf-export-lights-warn
Browse files Browse the repository at this point in the history
GLTFExporter: improve error message when exporting unsupported light
  • Loading branch information
mrdoob authored Mar 27, 2019
2 parents caa6246 + ae4512c commit f766a58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/js/exporters/GLTFExporter.js
Original file line number Diff line number Diff line change
Expand Up @@ -1765,7 +1765,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;

}
Expand Down

0 comments on commit f766a58

Please sign in to comment.