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
This commit is contained in:
Henrik Dick
2021-03-30 19:10:13 +11:00
committed by Campbell Barton
parent fd10c21f51
commit 39bead4d51

View File

@@ -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;