Cleanup: quiet -Warray-parameter warnings from GCC11

Some warnings remain that require larger changes.
This commit is contained in:
2021-05-21 15:45:25 +10:00
parent 6c6551c398
commit b13953b1f2
18 changed files with 30 additions and 32 deletions

View File

@@ -172,7 +172,7 @@ static void rna_Mesh_normals_split_custom_set_from_vertices(Mesh *mesh,
DEG_id_tag_update(&mesh->id, 0);
}
static void rna_Mesh_transform(Mesh *mesh, float *mat, bool shape_keys)
static void rna_Mesh_transform(Mesh *mesh, float mat[16], bool shape_keys)
{
BKE_mesh_transform(mesh, (float(*)[4])mat, shape_keys);