diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2017-10-26 15:14:12 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2017-11-08 00:35:12 +0300 |
commit | 3dec1de2758a5301a44462a6655abcfe08c62db0 (patch) | |
tree | 3e5f4cfc6bfa2fa796c1b3e86a7571a5c629ab8b /source/blender/render/intern | |
parent | 26f39e6359d1db85509a0ee1077b6d0af122a456 (diff) |
Fix incorrect color management when saving JPG previews for EXR.
Diffstat (limited to 'source/blender/render/intern')
-rw-r--r-- | source/blender/render/intern/source/pipeline.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/source/blender/render/intern/source/pipeline.c b/source/blender/render/intern/source/pipeline.c index d4b87ef1c18..837721e8943 100644 --- a/source/blender/render/intern/source/pipeline.c +++ b/source/blender/render/intern/source/pipeline.c @@ -3359,9 +3359,6 @@ bool RE_WriteRenderViewsImage(ReportList *reports, RenderResult *rr, Scene *scen BKE_image_path_ensure_ext_from_imformat(name, &imf); ibuf->planes = 24; - IMB_colormanagement_imbuf_for_write(ibuf, true, false, &scene->view_settings, - &scene->display_settings, &imf); - ok = render_imbuf_write_stamp_test(reports, scene, rr, ibuf, name, &imf, stamp); } @@ -3374,7 +3371,7 @@ bool RE_WriteRenderViewsImage(ReportList *reports, RenderResult *rr, Scene *scen BLI_assert(scene->r.im_format.views_format == R_IMF_VIEWS_STEREO_3D); if (rd->im_format.imtype == R_IMF_IMTYPE_MULTILAYER) { - printf("Stereo 3D not support for MultiLayer image: %s\n", name); + printf("Stereo 3D not supported for MultiLayer image: %s\n", name); } else { ImBuf *ibuf_arr[3] = {NULL}; @@ -3406,9 +3403,6 @@ bool RE_WriteRenderViewsImage(ReportList *reports, RenderResult *rr, Scene *scen BKE_image_path_ensure_ext_from_imformat(name, &imf); ibuf_arr[2]->planes = 24; - IMB_colormanagement_imbuf_for_write(ibuf_arr[2], true, false, &scene->view_settings, - &scene->display_settings, &imf); - ok = render_imbuf_write_stamp_test(reports, scene, rr, ibuf_arr[2], name, &rd->im_format, stamp); } |