Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2014-02-05 15:36:15 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-02-05 15:36:15 +0400
commit37026b12ec1047dd5f4637ad281f108a7963af83 (patch)
treeb45d0b945f84dff6181fe26a464ddbfe0d127f6a /source/blender/imbuf/intern/openexr/openexr_api.cpp
parent36fc4e15f69f4150812408b32a9052017590eb8b (diff)
Code cleanup: use bool for static methods
Diffstat (limited to 'source/blender/imbuf/intern/openexr/openexr_api.cpp')
-rw-r--r--source/blender/imbuf/intern/openexr/openexr_api.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/imbuf/intern/openexr/openexr_api.cpp b/source/blender/imbuf/intern/openexr/openexr_api.cpp
index 9fa69194ded..6acd5154561 100644
--- a/source/blender/imbuf/intern/openexr/openexr_api.cpp
+++ b/source/blender/imbuf/intern/openexr/openexr_api.cpp
@@ -1130,7 +1130,7 @@ static int exr_has_alpha(InputFile *file)
return !(file->header().channels().findChannel("A") == NULL);
}
-static int exr_is_multilayer(InputFile *file)
+static bool exr_is_multilayer(InputFile *file)
{
const StringAttribute *comments = file->header().findTypedAttribute<StringAttribute>("BlenderMultiChannel");
const ChannelList &channels = file->header().channels();
@@ -1174,7 +1174,7 @@ struct ImBuf *imb_load_openexr(unsigned char *mem, size_t size, int flags, char
try
{
Mem_IStream *membuf = new Mem_IStream(mem, size);
- int is_multi;
+ bool is_multi;
file = new InputFile(*membuf);
Box2i dw = file->header().dataWindow();