diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2015-11-20 21:22:20 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2015-11-20 21:22:51 +0300 |
commit | 9a2290a30b478f6bf0863796d8129b9fe7e368f1 (patch) | |
tree | e6ce8d70ee2db0b97223178fb271dbfcfdbf0dc3 | |
parent | 7e71be261bb88d0a7c1dcef7b19995317fdb51ef (diff) |
Fix T46826: EXR Compression method set in UI does not always get passed correctly to the actual OpenEXR writing code.
-rw-r--r-- | source/blender/blenkernel/intern/image.c | 1 |
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)) |