diff options
author | Nathan Letwory <nathan@letworyinteractive.com> | 2010-09-30 11:39:00 +0400 |
---|---|---|
committer | Nathan Letwory <nathan@letworyinteractive.com> | 2010-09-30 11:39:00 +0400 |
commit | 22dbb1eb6e75f997d86d7f7664d8b54abacb484d (patch) | |
tree | ed00c7e763362a60a4cceae1533be0aabce83f65 | |
parent | 3665257dbfbf27a352edbf6d4993a9d5780a86a9 (diff) |
Set IB_multilayer flag, so can use multilayer exr as texture too.
-rw-r--r-- | source/blender/imbuf/intern/readimage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/imbuf/intern/readimage.c b/source/blender/imbuf/intern/readimage.c index a56007f15f0..5a0f79c184d 100644 --- a/source/blender/imbuf/intern/readimage.c +++ b/source/blender/imbuf/intern/readimage.c @@ -151,7 +151,7 @@ ImBuf *IMB_testiffname(char *name, int flags) file = open(filename,O_BINARY|O_RDONLY); if(file < 0) return 0; - ibuf=IMB_loadifffile(file, flags|IB_test); + ibuf=IMB_loadifffile(file, flags|IB_test|IB_multilayer); if(ibuf) { BLI_strncpy(ibuf->name, name, sizeof(ibuf->name)); BLI_strncpy(ibuf->cachename, filename, sizeof(ibuf->cachename)); |