Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Goudey <h.goudey@me.com>2022-04-04 17:59:45 +0300
committerHans Goudey <h.goudey@me.com>2022-04-04 17:59:45 +0300
commit9c962b2e2b3d772af8106cadd0b58142d28fea69 (patch)
tree3526e782ea1fddb4ba9dd238485cc3e273b06dc0
parentaa1ae1d3c8ef26538b568ab36f9e705242f1204c (diff)
Fix T96999: RNA mesh transform does not mark normals dirty
-rw-r--r--source/blender/makesrna/intern/rna_mesh_api.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_mesh_api.c b/source/blender/makesrna/intern/rna_mesh_api.c
index 8447074a3ef..b1ebe583afc 100644
--- a/source/blender/makesrna/intern/rna_mesh_api.c
+++ b/source/blender/makesrna/intern/rna_mesh_api.c
@@ -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);
}