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

Merge pull request #10168 from takahirox/ImageLoaderCrossOrigin

ImageLoader crossOrigin support
......@@ -35,6 +35,11 @@ Object.assign( ImageLoader.prototype, {
image.src = url;
} else if ( this.crossOrigin !== undefined ) {
image.crossOrigin = this.crossOrigin;
image.src = url;
} else {
var loader = new FileLoader();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册