Fix T96999: RNA mesh transform does not mark normals dirty
This commit is contained in:
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
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue