diff options
author | Hans Goudey <h.goudey@me.com> | 2021-09-15 22:44:56 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2021-09-15 22:44:56 +0300 |
commit | 28bd74c18650a8362bc791df602097967ff5efdf (patch) | |
tree | 0df3067af2c1bcc5fd517a889eec1e9c6c264003 /source/blender/blenkernel/intern/geometry_component_mesh.cc | |
parent | 8c5d9fa92919020293f2639caa77ec2f9e65ae0f (diff) |
Cleanup: Use function to mark mesh normals dirty
Diffstat (limited to 'source/blender/blenkernel/intern/geometry_component_mesh.cc')
-rw-r--r-- | source/blender/blenkernel/intern/geometry_component_mesh.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/geometry_component_mesh.cc b/source/blender/blenkernel/intern/geometry_component_mesh.cc index 25ef4b6000f..0c98aa5551b 100644 --- a/source/blender/blenkernel/intern/geometry_component_mesh.cc +++ b/source/blender/blenkernel/intern/geometry_component_mesh.cc @@ -926,7 +926,7 @@ static void tag_normals_dirty_when_writing_position(GeometryComponent &component { Mesh *mesh = get_mesh_from_component_for_write(component); if (mesh != nullptr) { - mesh->runtime.cd_dirty_vert |= CD_MASK_NORMAL; + BKE_mesh_normals_tag_dirty(mesh); } } |