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

Merge pull request #12539 from takahirox/FixGLTFLoaderErrorMessage

Fix Error message in GLTFLoader
......@@ -1421,7 +1421,7 @@ THREE.GLTFLoader = ( function () {
if ( bufferDef.type && bufferDef.type !== 'arraybuffer' ) {
throw new Error( 'THREE.GLTFLoader: %s buffer type is not supported.', bufferDef.type );
throw new Error( 'THREE.GLTFLoader: ' + bufferDef.type + ' buffer type is not supported.' );
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册