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/makesdna | |
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/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_mesh_types.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/source/blender/makesdna/DNA_mesh_types.h b/source/blender/makesdna/DNA_mesh_types.h index f40e91c1d5e..d8a853681fd 100644 --- a/source/blender/makesdna/DNA_mesh_types.h +++ b/source/blender/makesdna/DNA_mesh_types.h @@ -135,17 +135,6 @@ typedef struct Mesh_Runtime { float (*poly_normals)[3]; void *_pad2; - - /** - * Used to mark when derived data needs to be recalculated for a certain layer. - * Currently only normals. - */ - - int64_t cd_dirty_vert; - int64_t cd_dirty_edge; - int64_t cd_dirty_loop; - int64_t cd_dirty_poly; - } Mesh_Runtime; typedef struct Mesh { |