Skip to content

Commit

Permalink
apply #872 fix to 2.5
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Hillman <peterh@wetafx.co.nz>
  • Loading branch information
peterhillman authored and cary-ilm committed Jun 9, 2021
1 parent 76e10fe commit 6006b2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OpenEXR/IlmImf/ImfDeepTiledInputFile.cpp
Expand Up @@ -929,7 +929,7 @@ DeepTiledInputFile::compatibilityInitialize(OPENEXR_IMF_INTERNAL_NAMESPACE::IStr
void
DeepTiledInputFile::multiPartInitialize(InputPartData* part)
{
if (isTiled(part->header.type()) == false)
if (part->header.type() != DEEPTILE)
THROW (IEX_NAMESPACE::ArgExc, "Can't build a DeepTiledInputFile from a part of type " << part->header.type());

_data->_streamData = part->mutex;
Expand Down

0 comments on commit 6006b2e

Please sign in to comment.