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
path: root/source
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2015-11-20 21:22:20 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2015-11-20 21:22:51 +0300
commit9a2290a30b478f6bf0863796d8129b9fe7e368f1 (patch)
treee6ce8d70ee2db0b97223178fb271dbfcfdbf0dc3 /source
parent7e71be261bb88d0a7c1dcef7b19995317fdb51ef (diff)
Fix T46826: EXR Compression method set in UI does not always get passed correctly to the actual OpenEXR writing code.
Diffstat (limited to 'source')
-rw-r--r--source/blender/blenkernel/intern/image.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/image.c b/source/blender/blenkernel/intern/image.c
index 5f2629b3f67..f4fce5c0019 100644
--- a/source/blender/blenkernel/intern/image.c
+++ b/source/blender/blenkernel/intern/image.c
@@ -2212,6 +2212,7 @@ void BKE_imbuf_write_prepare(ImBuf *ibuf, ImageFormatData *imf)
ibuf->ftype = IMB_FTYPE_OPENEXR;
if (imf->depth == R_IMF_CHAN_DEPTH_16)
ibuf->foptions.flag |= OPENEXR_HALF;
+ ibuf->foptions.flag &= ~OPENEXR_COMPRESS;
ibuf->foptions.flag |= (imf->exr_codec & OPENEXR_COMPRESS);
if (!(imf->flag & R_IMF_FLAG_ZBUF))