Commit: 21b6f9bb414929a26db8fc43a037b26a9b86ad01
Author: Hans Goudey
Date:   Sat Aug 27 09:18:30 2022 -0500
Branches: refactor-mesh-material-index-generic
https://developer.blender.org/rB21b6f9bb414929a26db8fc43a037b26a9b86ad01

Fix typo causing crash

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

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 22a8aea03f6..64a00478ce8 100644
--- a/source/blender/modifiers/intern/MOD_solidify_nonmanifold.c
+++ b/source/blender/modifiers/intern/MOD_solidify_nonmanifold.c
@@ -2113,8 +2113,7 @@ Mesh *MOD_solidify_nonmanifold_modifyMesh(ModifierData 
*md,
 
   /* Make boundary edges/faces. */
   {
-    if (!dst_material_index)
-      gs_ptr = orig_vert_groups_arr;
+    gs_ptr = orig_vert_groups_arr;
     mv = orig_mvert;
     for (uint i = 0; i < verts_num; i++, gs_ptr++, mv++) {
       EdgeGroup *gs = *gs_ptr;

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to