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

ImageUtils: Fixed CanvasRenderer breakage.

上级 9cff15c1
......@@ -16,7 +16,8 @@ THREE.ImageUtils = {
loader.setCrossOrigin( this.crossOrigin );
var texture = loader.load( url, onLoad, undefined, onError );
texture.mapping = mapping;
if ( mapping ) texture.mapping = mapping;
return texture;
......@@ -30,7 +31,8 @@ THREE.ImageUtils = {
loader.setCrossOrigin( this.crossOrigin );
var texture = loader.load( urls, onLoad, undefined, onError );
texture.mapping = mapping;
if ( mapping ) texture.mapping = mapping;
return texture;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册