diff options
author | Hans Goudey <h.goudey@me.com> | 2022-08-05 01:05:46 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2022-08-05 01:05:46 +0300 |
commit | 5b8c07dc50e0589ba77ae1589e5950fd161a5631 (patch) | |
tree | dd3f4c5afaa0acc29fea7a3bb6ce9bb0aa008d6b /source/blender/blenkernel/intern/mesh_validate.cc | |
parent | 8b467313965ac5ea86d71e6ac90c0e9f54f2c830 (diff) |
Cleanup: Remove outdated code for mesh normals
After recent refactors to mesh normals (cfa53e0fbeed), they are no
longer stored in CustomData. A mechanism to compute them eagerly
should be implemented another way.
Diffstat (limited to 'source/blender/blenkernel/intern/mesh_validate.cc')
-rw-r--r-- | source/blender/blenkernel/intern/mesh_validate.cc | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/source/blender/blenkernel/intern/mesh_validate.cc b/source/blender/blenkernel/intern/mesh_validate.cc index 9b2697ecc84..5bcbdb399e4 100644 --- a/source/blender/blenkernel/intern/mesh_validate.cc +++ b/source/blender/blenkernel/intern/mesh_validate.cc @@ -1001,10 +1001,6 @@ bool BKE_mesh_validate_all_customdata(CustomData *vdata, CustomData_MeshMasks mask = {0}; if (check_meshmask) { mask = CD_MASK_MESH; - /* Normal data isn't in the mask since it is derived data, - * but it is valid and should not be removed. */ - mask.vmask |= CD_MASK_NORMAL; - mask.pmask |= CD_MASK_NORMAL; } is_valid &= mesh_validate_customdata( |