Fix T39148: Image does not show while rendering

Own regression since partial buffer update refactor,
display buffer for exr tiles should happen in image
update callback.

This revision is to be merged to the final release.
This commit is contained in:
Sergey Sharybin 2014-03-13 13:25:07 +06:00
parent c17acf1d6e
commit e6a359a0a9

@ -131,7 +131,12 @@ static void image_buffer_rect_update(RenderJob *rj, RenderResult *rr, ImBuf *ibu
ColorManagedViewSettings *view_settings;
ColorManagedDisplaySettings *display_settings;
if (ibuf->userflags & IB_DISPLAY_BUFFER_INVALID) {
/* Exception for exr tiles -- display buffer conversion happens here,
* NOT in the color management pipeline.
*/
if (ibuf->userflags & IB_DISPLAY_BUFFER_INVALID &&
rr->do_exr_tile == false)
{
/* The whole image buffer it so be color managed again anyway. */
return;
}