Fix T47992: Stereo 3D Anaglyph rendered Images saved too light

This commit is contained in:
Sergey Sharybin 2016-04-26 17:15:33 +02:00
parent f172f2b146
commit bb74e0774c
Notes: blender-bot 2023-02-14 08:01:57 +01:00
Referenced by issue #47992, Stereo 3D Anaglyph rendered Images saved too light.
1 changed files with 3 additions and 0 deletions

View File

@ -719,6 +719,9 @@ ImBuf *IMB_stereo3d_ImBuf(ImageFormatData *im_format, ImBuf *ibuf_left, ImBuf *i
IMB_stereo3d_write_dimensions(im_format->stereo3d_format.display_mode, false, ibuf_left->x, ibuf_left->y, &width, &height);
ibuf_stereo = IMB_allocImBuf(width, height, ibuf_left->planes, (is_float ? IB_rectfloat : IB_rect));
ibuf_stereo->rect_colorspace = ibuf_left->rect_colorspace;
ibuf_stereo->float_colorspace = ibuf_left->float_colorspace;
/* copy flags for IB_fields and other settings */
ibuf_stereo->flags = ibuf_left->flags;