From 263876f5b98da2db94034fd9a45fec0fa173b0ee Mon Sep 17 00:00:00 2001 From: Wenzel Jakob Date: Tue, 25 Mar 2014 18:28:09 +0100 Subject: [PATCH] Fix for Bug #259 (Gian Calgeer) --- src/films/hdrfilm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/films/hdrfilm.cpp b/src/films/hdrfilm.cpp index c095f455..de5bd024 100644 --- a/src/films/hdrfilm.cpp +++ b/src/films/hdrfilm.cpp @@ -236,7 +236,7 @@ public: if (pixelFormats.size() != 1 && channelNames.size() != pixelFormats.size()) Log(EError, "Number of channel names must match the number of specified pixel formats!"); - if (m_pixelFormats.size() != 1 && m_fileFormat != Bitmap::EOpenEXR) + if (pixelFormats.size() != 1 && m_fileFormat != Bitmap::EOpenEXR) Log(EError, "General multi-channel output is only supported when writing OpenEXR files!"); for (size_t i=0; i