Explorar o código

Merge pull request #10451 from Jozain/extra-three

removed mistaken THREE from recent revert
Mr.doob %!s(int64=8) %!d(string=hai) anos
pai
achega
49e7dbdc1f
Modificáronse 1 ficheiros con 1 adicións e 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 );