Browse Source

Merge pull request #10451 from Jozain/extra-three

removed mistaken THREE from recent revert
Mr.doob 8 years ago
parent
commit
49e7dbdc1f
1 changed files with 1 additions and 1 deletions
  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 );