diff options
author | Howard Trickey <howard.trickey@gmail.com> | 2018-12-02 14:29:58 +0300 |
---|---|---|
committer | Howard Trickey <howard.trickey@gmail.com> | 2018-12-02 14:29:58 +0300 |
commit | 71c624dcd8609b5be8f76aa9d78072e91c8b1538 (patch) | |
tree | add9c0d140f479934eec218d85e84169acdbd5cb /source/blender/modifiers/intern | |
parent | 925380050d026e8948cb5d72c5b68a796744a5b4 (diff) |
Partial fix for T58113 bevel harden normals bug.
This fixes the problem where not all faces got hardened properly
when using a hardening mode in the bevel modifier.
Diffstat (limited to 'source/blender/modifiers/intern')
-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 d9b6cfa1ac5..ee2b08fe824 100644 --- a/source/blender/modifiers/intern/MOD_bevel.c +++ b/source/blender/modifiers/intern/MOD_bevel.c @@ -214,7 +214,7 @@ static void bevel_mod_harden_normals( add_v3_v3(cn_wght, cur); } if (!BLI_ghash_haskey(faceHash, lfan_pivot->f)) { - recon_face = f; + recon_face = lfan_pivot->f; recon_face_count++; } if (!BM_elem_flag_test(e_next, BM_ELEM_TAG) || (e_next == e_org)) { |