Commit: 71c624dcd8609b5be8f76aa9d78072e91c8b1538
Author: Howard Trickey
Date:   Sun Dec 2 06:29:58 2018 -0500
Branches: blender2.8
https://developer.blender.org/rB71c624dcd8609b5be8f76aa9d78072e91c8b1538

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.

===================================================================

M       source/blender/modifiers/intern/MOD_bevel.c

===================================================================

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)) {

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to