[Bf-blender-cvs] [9951bb46e44] temp-vert-normals-cleanup: Cleanup: Improve comment
Hans Goudey
noreply at git.blender.org
Thu Jan 13 19:51:03 CET 2022
Commit: 9951bb46e441680fa53fe717f2ba3fafebd3e8f8
Author: Hans Goudey
Date: Thu Jan 13 12:30:39 2022 -0600
Branches: temp-vert-normals-cleanup
https://developer.blender.org/rB9951bb46e441680fa53fe717f2ba3fafebd3e8f8
Cleanup: Improve comment
===================================================================
M source/blender/blenkernel/BKE_mesh.h
===================================================================
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);
More information about the Bf-blender-cvs
mailing list