Cleanup: Remove legacy argument from mesh creation functions
The legacy `tessface_len` argument was only used for the explode modifier. Remove it and copy the legacy face data manually there.
This commit is contained in:
@@ -312,7 +312,7 @@ static Mesh *modifyMesh(ModifierData *md, const ModifierEvalContext *ctx, Mesh *
|
||||
max_co = max[track];
|
||||
}
|
||||
|
||||
result = BKE_mesh_new_nomain_from_template(mesh, maxvert, maxedge, 0, maxloop, maxpoly);
|
||||
result = BKE_mesh_new_nomain_from_template(mesh, maxvert, maxedge, maxloop, maxpoly);
|
||||
|
||||
const blender::Span<MPoly> orig_polys = mesh->polys();
|
||||
const blender::Span<MLoop> orig_loops = mesh->loops();
|
||||
|
||||
Reference in New Issue
Block a user