未验证 提交 f766a58b 编写于 作者: M Mr.doob 提交者: GitHub

Merge pull request #15994 from garyo/fix/gltf-export-lights-warn

GLTFExporter: improve error message when exporting unsupported light
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册