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:
@@ -3320,7 +3320,7 @@ static void hair_create_input_mesh(ParticleSimulationData *sim,
|
||||
|
||||
mesh = *r_mesh;
|
||||
if (!mesh) {
|
||||
*r_mesh = mesh = BKE_mesh_new_nomain(totpoint, totedge, 0, 0, 0);
|
||||
*r_mesh = mesh = BKE_mesh_new_nomain(totpoint, totedge, 0, 0);
|
||||
}
|
||||
float(*positions)[3] = BKE_mesh_vert_positions_for_write(mesh);
|
||||
medge = BKE_mesh_edges_for_write(mesh);
|
||||
|
||||
Reference in New Issue
Block a user