Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenrik Dick <hen-di@web.de>2021-03-30 11:10:13 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-03-30 11:13:36 +0300
commit39bead4d51e5e96188feab4fb45d453fc7b1f2a6 (patch)
tree43142680eab03d74dba4d65a785d3ac1c3277116
parentfd10c21f51243921e645939e3f6a569c19864d8e (diff)
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
-rw-r--r--source/blender/modifiers/intern/MOD_solidify_extrude.c2
1 files changed, 1 insertions, 1 deletions
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;