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

Revert "Fix Loading an SVG with TextureLoader"

上级 00b1846f
......@@ -184,7 +184,7 @@ Object.assign( FileLoader.prototype, {
if ( this.responseType !== undefined ) request.responseType = this.responseType;
if ( this.withCredentials !== undefined ) request.withCredentials = this.withCredentials;
if ( this.mimeType && request.overrideMimeType ) request.overrideMimeType( this.mimeType );
if ( request.overrideMimeType ) request.overrideMimeType( this.mimeType !== undefined ? this.mimeType : 'text/plain' );
request.send( null );
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册