Sfoglia il codice sorgente

removed mistaken THREE from recent revert

Josiah Konrad 8 anni fa
parent
commit
5463a48edb
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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 );