浏览代码

removed mistaken THREE from recent revert

Josiah Konrad 8 年之前
父节点
当前提交
5463a48edb
共有 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 );