diff --git a/build/three.js b/build/three.js index 9f23eb512ec4396b09215b9ebe5d1fd1550fe293..e452a50834679b9426b9878481787abec5922516 100644 --- a/build/three.js +++ b/build/three.js @@ -28322,7 +28322,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; @@ -28336,7 +28337,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; diff --git a/build/three.min.js b/build/three.min.js index 4ea98f244343c1e68870c8c1d0b9c9f565b47e24..5932c206adb3bca2290ca349867a5ad392f6adc9 100644 --- a/build/three.min.js +++ b/build/three.min.js @@ -689,8 +689,8 @@ C.enable(v.BLEND);v.bindBuffer(v.ARRAY_BUFFER,A);v.vertexAttribPointer(w,2,v.FLO (v.uniform1i(p,0),P=M=0);for(var y=0,K=b.length;y