|
@@ -44,7 +44,7 @@ Object.assign( ImageLoader.prototype, {
|
|
|
|
|
|
image.addEventListener( 'load', function () {
|
|
image.addEventListener( 'load', function () {
|
|
|
|
|
|
- THREE.Cache.add( url, this );
|
|
|
|
|
|
+ Cache.add( url, this );
|
|
|
|
|
|
if ( onLoad ) onLoad( this );
|
|
if ( onLoad ) onLoad( this );
|
|
|
|
|