diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-08-31 03:08:38 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-08-31 03:08:38 +0400 |
commit | c58a0c5eb814db1be08c0e8a4353ad5606a23d30 (patch) | |
tree | 8771cf76565345b4e56ab473be58ccd7e447a0a1 /source/blender/editors/space_image | |
parent | 5ac81bfe9c523c2ea0dcbc55bc8454c2e12239e0 (diff) |
catch exception and report an error when failing to write exr files - was crashing with debug builds.
Diffstat (limited to 'source/blender/editors/space_image')
-rw-r--r-- | source/blender/editors/space_image/image_ops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_image/image_ops.c b/source/blender/editors/space_image/image_ops.c index d58b78ff6a7..f96a8ea4d84 100644 --- a/source/blender/editors/space_image/image_ops.c +++ b/source/blender/editors/space_image/image_ops.c @@ -1069,7 +1069,7 @@ static void save_image_doit(bContext *C, SpaceImage *sima, wmOperator *op, SaveI Scene *scene= CTX_data_scene(C); RenderResult *rr= BKE_image_acquire_renderresult(scene, ima); if(rr) { - RE_WriteRenderResult(rr, simopts->filepath, simopts->quality); + RE_WriteRenderResult(op->reports, rr, simopts->filepath, simopts->quality); ok= TRUE; } else { |