Browse Source

Merge pull request #10451 from Jozain/extra-three

removed mistaken THREE from recent revert
Mr.doob 8 năm trước cách đây
mục cha
commit
49e7dbdc1f
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/loaders/ImageLoader.js

+ 1 - 1
src/loaders/ImageLoader.js

@@ -44,7 +44,7 @@ Object.assign( ImageLoader.prototype, {
 
 		image.addEventListener( 'load', function () {
 
-			THREE.Cache.add( url, this );
+			Cache.add( url, this );
 
 			if ( onLoad ) onLoad( this );