Explorar el Código

Merge pull request #10451 from Jozain/extra-three

removed mistaken THREE from recent revert
Mr.doob hace 8 años
padre
commit
49e7dbdc1f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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 );