fix [#29683] OpenEXR Output Appears to be broken

own error with moving image settings.
This commit is contained in:
2011-12-23 20:26:37 +00:00
parent 217a7d1829
commit 5df049f390
2 changed files with 2 additions and 1 deletions

View File

@@ -131,6 +131,7 @@ const char *BLF_pgettext(const char *context, const char *message)
return translation;
#else
(void)context;
return message;
#endif
}

View File

@@ -1544,7 +1544,7 @@ int BKE_write_ibuf(ImBuf *ibuf, const char *name, ImageFormatData *imf)
ibuf->ftype= OPENEXR;
if(imf->depth == R_IMF_CHAN_DEPTH_16)
ibuf->ftype |= OPENEXR_HALF;
ibuf->ftype |= (quality & OPENEXR_COMPRESS);
ibuf->ftype |= (imf->exr_codec & OPENEXR_COMPRESS);
if(!(imf->flag & R_IMF_FLAG_ZBUF))
ibuf->zbuf_float = NULL; /* signal for exr saving */