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-11-16 18:06:05 +0300
committerHoward Trickey <howard.trickey@gmail.com>2018-11-16 18:06:05 +0300
commit91aa81b61dd0df29c23ca05fc4104c0f4117e8a6 (patch)
tree46e70b09e2fc17e61cf65c27cf22442e771a7164 /source/blender/modifiers/intern/MOD_bevel.c
parent54091d935f8b9f486d5d0ce566e3fa8d82863849 (diff)
Fix T57850, bevel modifier crash with vertex groups and face area mode.
Used wrong Loop variable in this case.
Diffstat (limited to 'source/blender/modifiers/intern/MOD_bevel.c')
-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 d548bae96a0..d9b6cfa1ac5 100644
--- a/source/blender/modifiers/intern/MOD_bevel.c
+++ b/source/blender/modifiers/intern/MOD_bevel.c
@@ -198,7 +198,7 @@ static void bevel_mod_harden_normals(
const bool has_vgroup = dvert != NULL;
const bool vert_of_group = (
has_vgroup &&
- (defvert_find_index(&dvert[BM_elem_index_get(l->v)], vgroup) != NULL));
+ (defvert_find_index(&dvert[BM_elem_index_get(lfan_pivot->v)], vgroup) != NULL));
if (vert_of_group && hnmode == MOD_BEVEL_HN_FACE) {
float cur[3];