From 3bc406274b17c6232c0ba5f86d9be7f3449aa804 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 6 Mar 2021 13:03:30 +1100 Subject: Cleanup: comments --- source/blender/blenkernel/intern/attribute_access.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/blenkernel/intern/attribute_access.cc') diff --git a/source/blender/blenkernel/intern/attribute_access.cc b/source/blender/blenkernel/intern/attribute_access.cc index 8348851741f..61dc0903cc8 100644 --- a/source/blender/blenkernel/intern/attribute_access.cc +++ b/source/blender/blenkernel/intern/attribute_access.cc @@ -1380,9 +1380,9 @@ static void update_vertex_normals_when_dirty(const GeometryComponent &component) return; } - /* Since normals are derived data, const write access to them is okay. However, ensure that + /* Since normals are derived data, `const` write access to them is okay. However, ensure that * two threads don't use write normals to a mesh at the same time. Note that this relies on - * the idempotence of the operation; calculating the normals just fills the MVert struct + * the idempotence of the operation; calculating the normals just fills the #MVert struct * rather than allocating new memory. */ if (mesh->runtime.cd_dirty_vert & CD_MASK_NORMAL) { ThreadMutex *mesh_eval_mutex = (ThreadMutex *)mesh->runtime.eval_mutex; -- cgit v1.2.3