Skip to content

Commit 5922ade

Browse files
committed
Updated builds.
1 parent 74ed483 commit 5922ade

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

build/three.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28322,7 +28322,8 @@ THREE.ImageUtils = {
2832228322
loader.setCrossOrigin( this.crossOrigin );
2832328323

2832428324
var texture = loader.load( url, onLoad, undefined, onError );
28325-
texture.mapping = mapping;
28325+
28326+
if ( mapping ) texture.mapping = mapping;
2832628327

2832728328
return texture;
2832828329

@@ -28336,7 +28337,8 @@ THREE.ImageUtils = {
2833628337
loader.setCrossOrigin( this.crossOrigin );
2833728338

2833828339
var texture = loader.load( urls, onLoad, undefined, onError );
28339-
texture.mapping = mapping;
28340+
28341+
if ( mapping ) texture.mapping = mapping;
2834028342

2834128343
return texture;
2834228344

build/three.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)