bugfix [#23105] Scene strips renders out darker (no gamma corection?)

This commit is contained in:
Campbell Barton 2010-07-30 11:55:41 +00:00
parent 5251a9b3bf
commit ae662b8235

@ -1882,8 +1882,12 @@ static ImBuf * seq_render_scene_strip_impl(
IMB_saveiff(imb, "/tmp/foo.image", IB_rect | IB_metadata);
IMB_freeImBuf(imb);
} */
} else if (rres.rect32) {
/* float buffers in the sequencer are not linear */
ibuf->profile= IB_PROFILE_LINEAR_RGB;
IMB_convert_profile(ibuf, IB_PROFILE_SRGB);
}
else if (rres.rect32) {
ibuf= IMB_allocImBuf(rres.rectx, rres.recty, 32, IB_rect, 0);
memcpy(ibuf->rect, rres.rect32, 4*rres.rectx*rres.recty);
}