Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2021-03-06 05:03:30 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-03-06 10:33:54 +0300
commit3bc406274b17c6232c0ba5f86d9be7f3449aa804 (patch)
tree5e09edd412e5890028eee61b0f00899c47d8bb06 /source/blender/blenkernel/intern/attribute_access.cc
parentf117ea26246355f423fd78785a3b00a2490bd9a4 (diff)
Cleanup: comments
Diffstat (limited to 'source/blender/blenkernel/intern/attribute_access.cc')
-rw-r--r--source/blender/blenkernel/intern/attribute_access.cc4
1 files changed, 2 insertions, 2 deletions
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;