Fix #109047: Screw modifier's smooth shading option does not work #109052

Merged
Philipp Oeser merged 1 commits from lichtwerk/blender:109047 into blender-v3.6-release 2023-06-16 14:22:56 +02:00
1 changed files with 1 additions and 1 deletions

View File

@ -878,7 +878,7 @@ static Mesh *modifyMesh(ModifierData *md, const ModifierEvalContext *ctx, Mesh *
else {
origindex[mpoly_index] = ORIGINDEX_NONE;
dst_material_index[mpoly_index] = mat_nr;
sharp_faces.span[i] = use_flat_shading;
sharp_faces.span[mpoly_index] = use_flat_shading;
}
poly_offests_new[mpoly_index] = mpoly_index * 4;