Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2016-04-26 18:15:33 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2016-04-26 18:15:33 +0300
commitbb74e0774c0a40b39fd92c31de2c1e1536de15ee (patch)
treea3c09f80406e2f9eae2d44d09e51af3847459caf
parentf172f2b146fc1d112f17cb67d7a3a77f52a3baee (diff)
Fix T47992: Stereo 3D Anaglyph rendered Images saved too light
-rw-r--r--source/blender/imbuf/intern/stereoimbuf.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/imbuf/intern/stereoimbuf.c b/source/blender/imbuf/intern/stereoimbuf.c
index 19edce3da3b..a55cef60943 100644
--- a/source/blender/imbuf/intern/stereoimbuf.c
+++ b/source/blender/imbuf/intern/stereoimbuf.c
@@ -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;