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:
authorBastien Montagne <montagne29@wanadoo.fr>2018-05-08 12:56:31 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2018-05-08 13:01:06 +0300
commit029d3fa8b6b6b607c66647d3691a514889e7ca15 (patch)
treea02156b31e56570229f34fb5ec3a5e8149f52e63
parent1d95dfc97b8d5c3761a18cda8fce647a0ea70249 (diff)
Mesh normals: clear runtime dirty normal flag also when computing clnors.
-rw-r--r--source/blender/blenkernel/intern/mesh.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/mesh.c b/source/blender/blenkernel/intern/mesh.c
index 25e8405f69d..fd66b8faf77 100644
--- a/source/blender/blenkernel/intern/mesh.c
+++ b/source/blender/blenkernel/intern/mesh.c
@@ -2345,6 +2345,8 @@ void BKE_mesh_calc_normals_split_ex(Mesh *mesh, MLoopNorSpaceArray *r_lnors_spac
if (free_polynors) {
MEM_freeN(polynors);
}
+
+ mesh->runtime.cd_dirty_vert &= ~CD_MASK_NORMAL;
}
void BKE_mesh_calc_normals_split(Mesh *mesh)