From 598a48054b281f340bd21e736875ca5f00715a00 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 12 Dec 2023 16:16:14 +1100 Subject: [PATCH] Cleanup: correct & improve MLoopTri struct comment Own previous cleanup had a grammar error and could be worded better. Co-authored-by: Hans Goudey --- source/blender/makesdna/DNA_meshdata_types.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/blender/makesdna/DNA_meshdata_types.h b/source/blender/makesdna/DNA_meshdata_types.h index 970de79b5ab..72e3bc7947b 100644 --- a/source/blender/makesdna/DNA_meshdata_types.h +++ b/source/blender/makesdna/DNA_meshdata_types.h @@ -54,7 +54,9 @@ enum { * the array is recalculated from scratch; there is no extra attempt to maintain the validity over * time. * - * #MLoopTri is stored in an array, where triangles tessellated from faces stored contiguously. + * #MLoopTri is stored in an array, where triangles from each face are stored sequentially. + * The triangles order is guaranteed to match the face order where the first triangle will always + * be from the first face, and the last triangle from the last face. * The number of triangles for each polygon is guaranteed to be the corner count - 2, even for * degenerate geometry (see #bke::mesh::face_triangles_num). *