Skip to content

Commit

Permalink
fix(EXRLoader): support longname flag (#330)
Browse files Browse the repository at this point in the history
  • Loading branch information
CodyJasonBennett authored Dec 30, 2023
1 parent 833b47c commit 45e22a1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/loaders/EXRLoader.js
Original file line number Diff line number Diff line change
Expand Up @@ -1655,7 +1655,8 @@ class EXRLoader extends DataTextureLoader {
}
}

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

0 comments on commit 45e22a1

Please sign in to comment.