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.
This commit is contained in:
Dalai Felinto 2014-05-08 22:52:56 -03:00
parent 20c90eae14
commit 14643167a6
Notes: blender-bot 2023-02-14 10:40:14 +01:00
Referenced by issue #40147, Crash when accessing extra tracking settings
Referenced by issue #40108, Nodematerial keyframes get deleted in wrong material
Referenced by issue #40113, Armatured object with shape key causes segfault in BGE
1 changed files with 1 additions and 2 deletions

View File

@ -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;
}