diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-02-21 17:29:02 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-02-21 17:29:02 +0300 |
commit | 1d38a83139582ff37adc0757bd39d87d5932ddf5 (patch) | |
tree | 3bd106da0c5beb81ea3b5f8872d5f7a33d4da189 /source | |
parent | a51d08f4736daf97ca3cd6cbbee4bf64b0ff0544 (diff) |
Fix T61802: EXR preview JPEGs don't have the correct color
Missing color management, probably from the very beginnings of
the OCIO integration.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/render/intern/source/pipeline.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/render/intern/source/pipeline.c b/source/blender/render/intern/source/pipeline.c index 70f666a1978..bb8e70a20cc 100644 --- a/source/blender/render/intern/source/pipeline.c +++ b/source/blender/render/intern/source/pipeline.c @@ -3414,6 +3414,8 @@ bool RE_WriteRenderViewsImage(ReportList *reports, RenderResult *rr, Scene *scen ImBuf *ibuf = render_result_rect_to_ibuf(rr, rd, view_id); 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); |