提交 1a854932 编写于 作者: G gero3 提交者: GitHub

Remove usage of THREE.ImageUtils.loadTexture

上级 d4550224
......@@ -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.
先完成此消息的编辑!
想要评论请 注册