Code shared between BKE_mesh_new_nomain() and BKE_mesh_new_nomain_from_template() is now in separate functions, instead of copy-pasted.
Code shared between BKE_mesh_new_nomain() and BKE_mesh_new_nomain_from_template() is now in separate functions, instead of copy-pasted.