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

Updated builds.

上级 1778380b
......@@ -27487,24 +27487,19 @@ THREE.ImageUtils = {
request.open( 'GET', url, true );
request.responseType = "arraybuffer";
request.onload = function() {
if ( this.status === 200 ) {
request.addEventListener( 'load', function ( event ) {
var imageData = THREE.ImageUtils.decodeTGA( this.response );
if ( imageData ) {
texture.image = imageData;
texture.sourceFile = url;
texture.needsUpdate = true;
return texture;
}
}
};
request.addEventListener( 'load', function ( event ) {
if ( onLoad ) onLoad( texture );
if ( onLoad ) onLoad( texture );
}
}, false );
......
因为 它太大了无法显示 source diff 。你可以改为 查看blob
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册