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

Merge pull request #15755 from hujiulong/patch-2

FBXLoader: fix .setPath()
......@@ -44,6 +44,7 @@ THREE.FBXLoader = ( function () {
var path = ( self.path === undefined ) ? THREE.LoaderUtils.extractUrlBase( url ) : self.path;
var loader = new THREE.FileLoader( this.manager );
loader.setPath( self.path );
loader.setResponseType( 'arraybuffer' );
loader.load( url, function ( buffer ) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册