Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDalai Felinto <dfelinto@gmail.com>2014-05-09 05:52:56 +0400
committerDalai Felinto <dfelinto@gmail.com>2014-05-09 05:56:50 +0400
commit14643167a688be05dd88416b05b90a6392090a0e (patch)
tree06b8af8a031b259b9a17ccd944785c9cdf65a910 /source/blender/editors
parent20c90eae147f359b84a51a47846588e9b28cbc6f (diff)
Bake API: small change, forcing Render to not have reports
Again, no functional change, just trying to narrow down the possible reasons for the random crashes in OSX.
Diffstat (limited to 'source/blender/editors')
-rw-r--r--source/blender/editors/object/object_bake_api.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/editors/object/object_bake_api.c b/source/blender/editors/object/object_bake_api.c
index 447753463c4..d8e8a31c4ea 100644
--- a/source/blender/editors/object/object_bake_api.c
+++ b/source/blender/editors/object/object_bake_api.c
@@ -431,6 +431,7 @@ static int bake(
int i;
re = RE_NewRender(scene->id.name);
+ RE_SetReports(re, NULL);
is_tangent = pass_type == SCE_PASS_NORMAL && normal_space == R_BAKE_SPACE_TANGENT;
tot_materials = ob_low->totcol;
@@ -854,8 +855,6 @@ cleanup:
if (me_low)
BKE_libblock_free(bmain, me_low);
- RE_SetReports(re, NULL);
-
return op_result;
}