Browse Source

removed mistaken THREE from recent revert

Josiah Konrad 8 năm trước cách đây
mục cha
commit
5463a48edb
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 );