Bugfix: when compositor reads incomplete renders, when using the new

render option "save result to disk" and ESC from rendering, it crashed...

Note; reading partially saved exr files still crash... but that's an issue
within the openexr lib. I've mailed the openexr dev list for assistance
how to properly close a partial saved tile-file.
This commit is contained in:
Ton Roosendaal 2006-03-15 10:44:58 +00:00
parent 6bc3f0f85e
commit 578ab76bd4

@ -927,7 +927,7 @@ static void node_composit_exec_rresult(void *data, bNode *node, bNodeStack **in,
SceneRenderLayer *srl= BLI_findlink(&sce->r.layers, node->custom1);
if(srl) {
RenderLayer *rl= RE_GetRenderLayer(rr, srl->name);
if(rl) {
if(rl && rl->rectf) {
CompBuf *stackbuf;
/* we put render rect on stack, cbuf knows rect is from other ibuf when freed! */