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:
authorHoward Trickey <howard.trickey@gmail.com>2018-08-22 14:08:42 +0300
committerHoward Trickey <howard.trickey@gmail.com>2018-08-22 14:08:42 +0300
commit9f6cde53cf61762abe917420ab1727e9b19a01ee (patch)
treefa8f3cb582a619ff9c6056a648d4803551911894 /source/blender/modifiers
parent9e11b8e24939fbc73930bc05ddea1f79bb00783f (diff)
Fix bevel crash T56287, when face strength goes to 1.
Diffstat (limited to 'source/blender/modifiers')
-rw-r--r--source/blender/modifiers/intern/MOD_bevel.c2
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);
}