Skip to content

Commit 45e22a1

Browse files
fix(EXRLoader): support longname flag (#330)
1 parent 833b47c commit 45e22a1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/loaders/EXRLoader.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1655,7 +1655,8 @@ class EXRLoader extends DataTextureLoader {
16551655
}
16561656
}
16571657

1658-
if (spec != 0) {
1658+
if ((spec & ~0x04) != 0) {
1659+
// unsupported tiled, deep-image, multi-part
16591660
console.error('EXRHeader:', EXRHeader)
16601661
throw 'THREE.EXRLoader: provided file is currently unsupported.'
16611662
}

0 commit comments

Comments
 (0)