소스 검색

Merge pull request #10451 from Jozain/extra-three

removed mistaken THREE from recent revert
Mr.doob 8 년 전
부모
커밋
49e7dbdc1f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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 );