diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-06-17 09:41:01 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-06-17 09:44:43 +0300 |
commit | a971409d5a85f8b5a5eb7b1b5e0a9e6b96951b88 (patch) | |
tree | e4f2295620fbecd6c62c37b550e63c54162d2f89 /source | |
parent | ccd5f805500333f6e334c9138b1f2f98d8481d55 (diff) |
Cleanup: use doxy sections for rna_mesh.c
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/makesrna/intern/rna_mesh.c | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/source/blender/makesrna/intern/rna_mesh.c b/source/blender/makesrna/intern/rna_mesh.c index 472f52e53f5..2f29a55f387 100644 --- a/source/blender/makesrna/intern/rna_mesh.c +++ b/source/blender/makesrna/intern/rna_mesh.c @@ -82,7 +82,8 @@ static const EnumPropertyItem rna_enum_mesh_remesh_mode_items[] = { # include "rna_mesh_utils.h" /* -------------------------------------------------------------------- */ -/* Generic helpers */ +/** \name Generic Helpers + * \{ */ static Mesh *rna_mesh(PointerRNA *ptr) { @@ -139,8 +140,11 @@ static CustomData *rna_mesh_ldata(PointerRNA *ptr) return rna_mesh_ldata_helper(me); } +/** \} */ + /* -------------------------------------------------------------------- */ -/* Generic CustomData Layer Functions */ +/** \name Generic CustomData Layer Functions + * \{ */ static void rna_cd_layer_name_set(CustomData *cdata, CustomDataLayer *cdl, const char *value) { @@ -205,6 +209,8 @@ static bool rna_Mesh_has_custom_normals_get(PointerRNA *ptr) return BKE_mesh_has_custom_loop_normals(me); } +/** \} */ + /* -------------------------------------------------------------------- */ /** \name Update Callbacks * @@ -293,7 +299,8 @@ static void rna_Mesh_update_facemask(Main *bmain, Scene *scene, PointerRNA *ptr) /** \} */ /* -------------------------------------------------------------------- */ -/* Property get/set Callbacks */ +/** \name Property get/set Callbacks + * \{ */ static void rna_MeshVertex_normal_get(PointerRNA *ptr, float *value) { @@ -1617,8 +1624,14 @@ static void UNUSED_FUNCTION(rna_mesh_unused)(void) /* end unused function block */ } +/** \} */ + #else +/* -------------------------------------------------------------------- */ +/** \name RNA Mesh Definition + * \{ */ + static void rna_def_mvert_group(BlenderRNA *brna) { StructRNA *srna; @@ -3455,3 +3468,5 @@ void RNA_def_mesh(BlenderRNA *brna) } #endif + +/** \} */ |