提交 3fbb1b80 编写于 作者: M Mr.doob 提交者: GitHub

Merge pull request #11006 from gero3/patch-2

Remove usage of THREE.ImageUtils.loadTexture
......@@ -966,8 +966,7 @@
path = path.substr( path.lastIndexOf( "/" ) + 1 );
}
return THREE.ImageUtils.loadTexture( baseURL + path );
return ( new TextureLoader() ).load( baseURL + path );
};
......@@ -2350,4 +2349,4 @@
THREE.AssimpLoader = AssimpLoader;
} )();
\ No newline at end of file
} )();
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册