diff options
author | Ton Roosendaal <ton@blender.org> | 2009-02-05 22:28:28 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2009-02-05 22:28:28 +0300 |
commit | e1b92bc166ac27e29dfdbec315a7b6233d8724d2 (patch) | |
tree | 2ed3ef7d6d3ac107ff4bd578ae0f2544570087b2 /source/blender/editors/space_image/image_draw.c | |
parent | 0a3697ccf7f16bd328a8894c62995de0ff12adb0 (diff) |
2.5
Safe method to move render results to the displayed image.
It now allocates a single image for display, and on each
refresh callback from render, it copies the refreshed
section over to this image, in 32 bits. While rendering
that image then only shows progress updates, as usual.
This also now works for scenes in composte and results
for composite.
This should solve reported crashes for MBlur or SSS.
Diffstat (limited to 'source/blender/editors/space_image/image_draw.c')
-rw-r--r-- | source/blender/editors/space_image/image_draw.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/source/blender/editors/space_image/image_draw.c b/source/blender/editors/space_image/image_draw.c index 623877415ea..70a05d52376 100644 --- a/source/blender/editors/space_image/image_draw.c +++ b/source/blender/editors/space_image/image_draw.c @@ -121,10 +121,6 @@ static void image_verify_buffer_float(SpaceImage *sima, ImBuf *ibuf) else IMB_rect_from_float(ibuf); } - else if(sima->pad) { - sima->pad= 0; // XXX temp for render updates! - IMB_rect_from_float(ibuf); - } } } |