diff options
author | Howard Trickey <howard.trickey@gmail.com> | 2018-08-22 14:08:42 +0300 |
---|---|---|
committer | Howard Trickey <howard.trickey@gmail.com> | 2018-08-22 14:08:42 +0300 |
commit | 9f6cde53cf61762abe917420ab1727e9b19a01ee (patch) | |
tree | fa8f3cb582a619ff9c6056a648d4803551911894 /source/blender/modifiers/intern/MOD_bevel.c | |
parent | 9e11b8e24939fbc73930bc05ddea1f79bb00783f (diff) |
Fix bevel crash T56287, when face strength goes to 1.
Diffstat (limited to 'source/blender/modifiers/intern/MOD_bevel.c')
-rw-r--r-- | source/blender/modifiers/intern/MOD_bevel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/modifiers/intern/MOD_bevel.c b/source/blender/modifiers/intern/MOD_bevel.c index 5b3f8d5313a..ef447ff30ec 100644 --- a/source/blender/modifiers/intern/MOD_bevel.c +++ b/source/blender/modifiers/intern/MOD_bevel.c @@ -232,7 +232,7 @@ static void bevel_mod_harden_normals( short *clnors = BM_ELEM_CD_GET_VOID_P(l, cd_clnors_offset); /* If vertex is edge vert with 1 reconnected face */ - if (recon_face_count == 1 || do_normal_to_recon) { + if (recon_face_count == 1 || (recon_face != NULL && do_normal_to_recon)) { BKE_lnor_space_custom_normal_to_data( bm->lnor_spacearr->lspacearr[l_index], recon_face->no, clnors); } |