diff options
author | Hans Goudey <h.goudey@me.com> | 2022-02-22 21:13:13 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2022-02-22 21:13:13 +0300 |
commit | ad3ee84f4e5ff3aa7c7b7b104a32b856e3a2cd9a (patch) | |
tree | 5f6d800bb3b116153ea2d7ed80aa223ba110d9e4 /source/blender/blenkernel | |
parent | c7a9f76149d85dfb64710722a45979f6decedbb1 (diff) |
Cleanup: Remove unused mesh dirty flags
These were only set in two places. One was related to "tessellated loop
normal", and the other derived corner normals. The values were never
checked though, after 59343ee1627f4c369. The handling of dirty face
corner normals is clearly problematic, but in the future it should be
handled like the normal layers on the other domains instead.
Ref D14154, T95839
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/intern/mesh.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/mesh.cc b/source/blender/blenkernel/intern/mesh.cc index 83619cb50ef..37564f9334f 100644 --- a/source/blender/blenkernel/intern/mesh.cc +++ b/source/blender/blenkernel/intern/mesh.cc @@ -1975,8 +1975,6 @@ void BKE_mesh_calc_normals_split_ex(Mesh *mesh, MLoopNorSpaceArray *r_lnors_spac nullptr); BKE_mesh_assert_normals_dirty_or_calculated(mesh); - - mesh->runtime.cd_dirty_loop &= ~CD_MASK_NORMAL; } void BKE_mesh_calc_normals_split(Mesh *mesh) |