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:
authorHans Goudey <h.goudey@me.com>2022-01-13 21:30:39 +0300
committerHans Goudey <h.goudey@me.com>2022-01-13 21:30:39 +0300
commit9951bb46e441680fa53fe717f2ba3fafebd3e8f8 (patch)
tree7b78494a7afd681ddd008ab9ac2557e7a2366f82 /source/blender
parent8cde4b3d3b6f4969c44917647821151dba82f488 (diff)
Cleanup: Improve comment
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/blenkernel/BKE_mesh.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_mesh.h b/source/blender/blenkernel/BKE_mesh.h
index 1ba3d0c0b47..a9a78bbc12e 100644
--- a/source/blender/blenkernel/BKE_mesh.h
+++ b/source/blender/blenkernel/BKE_mesh.h
@@ -397,6 +397,8 @@ void BKE_mesh_normals_tag_dirty(struct Mesh *mesh);
/**
* Check that a mesh with non-dirty normals has vertex and face custom data layers.
+ * If these asserts fail, it means some area cleared the dirty flag but didn't copy or add the
+ * normal layers, or removed normals but didn't set the dirty flag.
*/
void BKE_mesh_assert_normals_dirty_or_calculated(const struct Mesh *mesh);