File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,6 @@ CompressedTextureLoader.prototype = Object.assign( Object.create( Loader.prototy
2626 const images = [ ] ;
2727
2828 const texture = new CompressedTexture ( ) ;
29- texture . image = images ;
3029
3130 const loader = new FileLoader ( this . manager ) ;
3231 loader . setPath ( this . path ) ;
@@ -53,9 +52,9 @@ CompressedTextureLoader.prototype = Object.assign( Object.create( Loader.prototy
5352
5453 if ( loaded === 6 ) {
5554
56- if ( texDatas . mipmapCount === 1 )
57- texture . minFilter = LinearFilter ;
55+ if ( texDatas . mipmapCount === 1 ) texture . minFilter = LinearFilter ;
5856
57+ texture . image = images ;
5958 texture . format = texDatas . format ;
6059 texture . needsUpdate = true ;
6160
@@ -102,6 +101,8 @@ CompressedTextureLoader.prototype = Object.assign( Object.create( Loader.prototy
102101
103102 }
104103
104+ texture . image = images ;
105+
105106 } else {
106107
107108 texture . image . width = texDatas . width ;
You can’t perform that action at this time.
0 commit comments