diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-01-08 08:43:49 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-01-08 08:43:49 +0400 |
commit | 4529fe9010629cd488882cf0299a6da7066eb113 (patch) | |
tree | 99c9ca4f25862590c72642b78bf6a0a68f907f3c /source/blender/render | |
parent | 8aaf4aaae82ec900aaa14b2afdefc3adbf96ec47 (diff) |
Fix for RE_engine_begin_result using a NULL pointer
Diffstat (limited to 'source/blender/render')
-rw-r--r-- | source/blender/render/intern/source/external_engine.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/render/intern/source/external_engine.c b/source/blender/render/intern/source/external_engine.c index b9c89f449a7..6ae7d732e82 100644 --- a/source/blender/render/intern/source/external_engine.c +++ b/source/blender/render/intern/source/external_engine.c @@ -207,17 +207,17 @@ RenderResult *RE_engine_begin_result(RenderEngine *engine, int x, int y, int w, result = render_result_new(re, &disprect, 0, RR_USE_MEM, layername); - /* Copy EXR tile settings, so pipeline knows whether this is a result - * for Save Buffers enabled rendering. - */ - result->do_exr_tile = re->result->do_exr_tile; - /* todo: make this thread safe */ /* can be NULL if we CLAMP the width or height to 0 */ if (result) { RenderPart *pa; + /* Copy EXR tile settings, so pipeline knows whether this is a result + * for Save Buffers enabled rendering. + */ + result->do_exr_tile = re->result->do_exr_tile; + BLI_addtail(&engine->fullresult, result); result->tilerect.xmin += re->disprect.xmin; |