[Bf-blender-cvs] [35708db5d2b] master: Modifiers: Use vertex group options for complex solidify flat faces

Henrik Dick noreply at git.blender.org
Mon Oct 5 14:58:22 CEST 2020


Commit: 35708db5d2b420cc628f71fb43387ce95b61ebbe
Author: Henrik Dick
Date:   Fri Oct 2 00:12:25 2020 +0200
Branches: master
https://developer.blender.org/rB35708db5d2b420cc628f71fb43387ce95b61ebbe

Modifiers: Use vertex group options for complex solidify flat faces

Ref D8945

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

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

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

diff --git a/source/blender/modifiers/intern/MOD_solidify_nonmanifold.c b/source/blender/modifiers/intern/MOD_solidify_nonmanifold.c
index 6dd04745d07..463b55b1ccc 100644
--- a/source/blender/modifiers/intern/MOD_solidify_nonmanifold.c
+++ b/source/blender/modifiers/intern/MOD_solidify_nonmanifold.c
@@ -1327,6 +1327,7 @@ Mesh *MOD_solidify_nonmanifold_modifyMesh(ModifierData *md,
             scalar_vgroup = min_ff(BKE_defvert_find_weight(dv, defgrp_index), scalar_vgroup);
           }
         }
+        scalar_vgroup = offset_fac_vg + (scalar_vgroup * offset_fac_vg_inv);
         face_weight[i] = scalar_vgroup;
       }
     }



More information about the Bf-blender-cvs mailing list