fix [#29683] OpenEXR Output Appears to be broken
own error with moving image settings.
This commit is contained in:
@@ -131,6 +131,7 @@ const char *BLF_pgettext(const char *context, const char *message)
|
||||
|
||||
return translation;
|
||||
#else
|
||||
(void)context;
|
||||
return message;
|
||||
#endif
|
||||
}
|
||||
|
@@ -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 */
|
||||
|
Reference in New Issue
Block a user