diff --git a/source/blender/modifiers/intern/MOD_screw.cc b/source/blender/modifiers/intern/MOD_screw.cc index 79ddf95e822..c0671a2b6a8 100644 --- a/source/blender/modifiers/intern/MOD_screw.cc +++ b/source/blender/modifiers/intern/MOD_screw.cc @@ -1021,6 +1021,7 @@ static Mesh *modify_mesh(ModifierData *md, const ModifierEvalContext *ctx, Mesh #endif sharp_faces.finish(); + dst_material_index.finish(); if (edge_face_map) { MEM_freeN(edge_face_map); @@ -1040,8 +1041,6 @@ static Mesh *modify_mesh(ModifierData *md, const ModifierEvalContext *ctx, Mesh ltmd->merge_dist); } - dst_material_index.finish(); - return result; }