[Bf-blender-cvs] [577a79b4852] master: Cleanup: Fix outdated mesh data comments
Hans Goudey
noreply at git.blender.org
Sat Oct 8 05:47:23 CEST 2022
Commit: 577a79b485213eec5467f86d88c1bbbfc00ce250
Author: Hans Goudey
Date: Fri Oct 7 22:35:13 2022 -0500
Branches: master
https://developer.blender.org/rB577a79b485213eec5467f86d88c1bbbfc00ce250
Cleanup: Fix outdated mesh data comments
===================================================================
M source/blender/makesdna/DNA_meshdata_types.h
===================================================================
diff --git a/source/blender/makesdna/DNA_meshdata_types.h b/source/blender/makesdna/DNA_meshdata_types.h
index 52e398ffff5..a1781265278 100644
--- a/source/blender/makesdna/DNA_meshdata_types.h
+++ b/source/blender/makesdna/DNA_meshdata_types.h
@@ -21,7 +21,7 @@ extern "C" {
/**
* Mesh Vertices.
*
- * Typically accessed from #Mesh.mvert
+ * Typically accessed from #Mesh.verts()
*/
typedef struct MVert {
float co[3];
@@ -51,7 +51,7 @@ enum {
/**
* Mesh Edges.
*
- * Typically accessed from #Mesh.medge
+ * Typically accessed with #Mesh.edges()
*/
typedef struct MEdge {
/** Un-ordered vertex indices (cannot match). */
@@ -79,10 +79,10 @@ enum {
};
/**
- * Mesh Faces
+ * Mesh Faces.
* This only stores the polygon size & flags, the vertex & edge indices are stored in the #MLoop.
*
- * Typically accessed from #Mesh.mpoly.
+ * Typically accessed with #Mesh.polys().
*/
typedef struct MPoly {
/** Offset into loop array and number of loops in the face. */
@@ -109,7 +109,7 @@ enum {
* Mesh Face Corners.
* "Loop" is an internal name for the corner of a polygon (#MPoly).
*
- * Typically accessed from #Mesh.mloop.
+ * Typically accessed with #Mesh.loops().
*/
typedef struct MLoop {
/** Vertex index into an #MVert array. */
@@ -376,7 +376,7 @@ typedef struct MDisps {
/**
* Used for hiding parts of a multires mesh.
- * Essentially the multires equivalent of the mesh ".hide_vert" boolean layer.
+ * Essentially the multires equivalent of the mesh ".hide_vert" boolean attribute.
*
* \note This is a bitmap, keep in sync with type used in BLI_bitmap.h
*/
More information about the Bf-blender-cvs
mailing list