diff options
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/render/intern/source/render_result.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/render/intern/source/render_result.c b/source/blender/render/intern/source/render_result.c index 9ae394fa675..303494d2beb 100644 --- a/source/blender/render/intern/source/render_result.c +++ b/source/blender/render/intern/source/render_result.c @@ -1025,7 +1025,7 @@ bool RE_WriteRenderResult(ReportList *reports, RenderResult *rr, const char *fil RenderPass *rpass; RenderView *rview; void *exrhandle = IMB_exr_get_handle(); - bool success = false; + bool success; int a, nr; const char *chan_view = NULL; int compress = (imf ? imf->exr_codec : 0); @@ -1111,6 +1111,7 @@ bool RE_WriteRenderResult(ReportList *reports, RenderResult *rr, const char *fil if (IMB_exr_begin_write(exrhandle, filename, width, height, compress)) { IMB_exr_write_channels(exrhandle); + success = true; } else { /* TODO, get the error from openexr's exception */ |