Fix T96999: RNA mesh transform does not mark normals dirty

This commit is contained in:
Hans Goudey 2022-04-04 09:59:45 -05:00
parent aa1ae1d3c8
commit 9c962b2e2b
Notes: blender-bot 2023-05-29 09:17:12 +02:00
Referenced by issue #96999, Mesh.calc_normals() after Mesh.transform() does not recalculate normals
1 changed files with 1 additions and 0 deletions

View File

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