Core: fix crash in legacy mesh conversion code.
This commit is contained in:
@@ -2046,7 +2046,7 @@ void BKE_mesh_legacy_convert_polys_to_offsets(Mesh *mesh)
|
||||
}
|
||||
});
|
||||
|
||||
CustomData_free(&old_poly_data, mesh->totloop);
|
||||
CustomData_free(&old_poly_data, mesh->totpoly);
|
||||
}
|
||||
|
||||
CustomData_free_layers(&mesh->pdata, CD_MPOLY, mesh->totpoly);
|
||||
|
||||
Reference in New Issue
Block a user