[Bf-blender-cvs] [39bead4d51e] master: Fix simple solidify wrong custom data on large ngons
Henrik Dick
noreply at git.blender.org
Tue Mar 30 10:13:56 CEST 2021
Commit: 39bead4d51e5e96188feab4fb45d453fc7b1f2a6
Author: Henrik Dick
Date: Tue Mar 30 19:10:13 2021 +1100
Branches: master
https://developer.blender.org/rB39bead4d51e5e96188feab4fb45d453fc7b1f2a6
Fix simple solidify wrong custom data on large ngons
Fixes an unreported issue that vertex data on large ngons (>255)
is messed up due to type conversion to char and back to int.
Ref D10734
===================================================================
M source/blender/modifiers/intern/MOD_solidify_extrude.c
===================================================================
diff --git a/source/blender/modifiers/intern/MOD_solidify_extrude.c b/source/blender/modifiers/intern/MOD_solidify_extrude.c
index 99069919120..a77a6e595ad 100644
--- a/source/blender/modifiers/intern/MOD_solidify_extrude.c
+++ b/source/blender/modifiers/intern/MOD_solidify_extrude.c
@@ -216,7 +216,7 @@ Mesh *MOD_solidify_extrude_modifyMesh(ModifierData *md, const ModifierEvalContex
numVerts, sizeof(*old_vert_arr), "old_vert_arr in solidify");
uint *edge_users = NULL;
- char *edge_order = NULL;
+ int *edge_order = NULL;
float(*vert_nors)[3] = NULL;
float(*poly_nors)[3] = NULL;
More information about the Bf-blender-cvs
mailing list