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:
authorCampbell Barton <campbell@blender.org>2022-04-05 01:00:20 +0300
committerCampbell Barton <campbell@blender.org>2022-04-05 01:02:01 +0300
commit521fab080bf8f7e3392b9f8d3d83a9067fc17914 (patch)
tree3548bfba4c778bded6f9e06ce1db004f9a8cdd9e /source/blender/makesdna
parentb51d6d50688e653d42c3ca8566df2f9518c462e3 (diff)
Cleanup: use doxygen links to struct members
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r--source/blender/makesdna/DNA_ID.h4
-rw-r--r--source/blender/makesdna/DNA_brush_enums.h18
-rw-r--r--source/blender/makesdna/DNA_constraint_types.h26
-rw-r--r--source/blender/makesdna/DNA_curve_types.h18
-rw-r--r--source/blender/makesdna/DNA_curves_types.h2
-rw-r--r--source/blender/makesdna/DNA_customdata_types.h4
-rw-r--r--source/blender/makesdna/DNA_image_types.h10
-rw-r--r--source/blender/makesdna/DNA_scene_types.h4
8 files changed, 43 insertions, 43 deletions
diff --git a/source/blender/makesdna/DNA_ID.h b/source/blender/makesdna/DNA_ID.h
index 3ebf085443a..e3a6f50531d 100644
--- a/source/blender/makesdna/DNA_ID.h
+++ b/source/blender/makesdna/DNA_ID.h
@@ -335,7 +335,7 @@ enum {
/* 2 characters for ID code and 64 for actual name */
#define MAX_ID_NAME 66
-/* ID_Runtime_Remap.status */
+/** #ID_Runtime_Remap.status */
enum {
/** new_id is directly linked in current .blend. */
ID_REMAP_IS_LINKED_DIRECT = 1 << 0,
@@ -476,7 +476,7 @@ typedef struct Library {
short versionfile, subversionfile;
} Library;
-/* Library.tag */
+/** #Library.tag */
enum eLibrary_Tag {
/* Automatic recursive resync was needed when linking/loading data from that library. */
LIBRARY_TAG_RESYNC_REQUIRED = 1 << 0,
diff --git a/source/blender/makesdna/DNA_brush_enums.h b/source/blender/makesdna/DNA_brush_enums.h
index 783e79898ce..18d82448d1f 100644
--- a/source/blender/makesdna/DNA_brush_enums.h
+++ b/source/blender/makesdna/DNA_brush_enums.h
@@ -277,7 +277,7 @@ typedef enum eBrushSnakeHookDeformType {
BRUSH_SNAKE_HOOK_DEFORM_ELASTIC = 1,
} eBrushSnakeHookDeformType;
-/* Gpencilsettings.Vertex_mode */
+/** #Gpencilsettings.Vertex_mode */
typedef enum eGp_Vertex_Mode {
/* Affect to Stroke only. */
GPPAINT_MODE_STROKE = 0,
@@ -327,7 +327,7 @@ typedef enum ePaintBrush_flag {
BRUSH_PAINT_DENSITY_PRESSURE_INVERT = (1 << 9),
} ePaintBrush_flag;
-/* Brush.gradient_source */
+/** #Brush.gradient_source */
typedef enum eBrushGradientSourceStroke {
BRUSH_GRADIENT_PRESSURE = 0, /* gradient from pressure */
BRUSH_GRADIENT_SPACING_REPEAT = 1, /* gradient from spacing */
@@ -339,7 +339,7 @@ typedef enum eBrushGradientSourceFill {
BRUSH_GRADIENT_RADIAL = 1, /* gradient from spacing */
} eBrushGradientSourceFill;
-/* Brush.flag */
+/** #Brush.flag */
typedef enum eBrushFlags {
BRUSH_AIRBRUSH = (1 << 0),
BRUSH_INVERT_TO_SCRAPE_FILL = (1 << 1),
@@ -375,12 +375,12 @@ typedef enum eBrushFlags {
BRUSH_CURVE = (1u << 31),
} eBrushFlags;
-/* Brush.sampling_flag */
+/** #Brush.sampling_flag */
typedef enum eBrushSamplingFlags {
BRUSH_PAINT_ANTIALIASING = (1 << 0),
} eBrushSamplingFlags;
-/* Brush.flag2 */
+/** #Brush.flag2 */
typedef enum eBrushFlags2 {
BRUSH_MULTIPLANE_SCRAPE_DYNAMIC = (1 << 0),
BRUSH_MULTIPLANE_SCRAPE_PLANES_PREVIEW = (1 << 1),
@@ -398,7 +398,7 @@ typedef enum {
BRUSH_MASK_PRESSURE_CUTOFF = (1 << 2),
} BrushMaskPressureFlags;
-/* Brush.overlay_flags */
+/** #Brush.overlay_flags */
typedef enum eOverlayFlags {
BRUSH_OVERLAY_CURSOR = (1),
BRUSH_OVERLAY_PRIMARY = (1 << 1),
@@ -412,7 +412,7 @@ typedef enum eOverlayFlags {
(BRUSH_OVERLAY_CURSOR_OVERRIDE_ON_STROKE | BRUSH_OVERLAY_PRIMARY_OVERRIDE_ON_STROKE | \
BRUSH_OVERLAY_SECONDARY_OVERRIDE_ON_STROKE)
-/* Brush.sculpt_tool */
+/** #Brush.sculpt_tool */
typedef enum eBrushSculptTool {
SCULPT_TOOL_DRAW = 1,
SCULPT_TOOL_SMOOTH = 2,
@@ -448,7 +448,7 @@ typedef enum eBrushSculptTool {
SCULPT_TOOL_DISPLACEMENT_SMEAR = 32,
} eBrushSculptTool;
-/* Brush.uv_sculpt_tool */
+/** #Brush.uv_sculpt_tool */
typedef enum eBrushUVSculptTool {
UV_SCULPT_TOOL_GRAB = 0,
UV_SCULPT_TOOL_RELAX = 1,
@@ -602,7 +602,7 @@ typedef enum eBlurKernelType {
KERNEL_BOX = 1,
} eBlurKernelType;
-/* Brush.falloff_shape */
+/** #Brush.falloff_shape */
typedef enum eBrushFalloffShape {
PAINT_FALLOFF_SHAPE_SPHERE = 0,
PAINT_FALLOFF_SHAPE_TUBE = 1,
diff --git a/source/blender/makesdna/DNA_constraint_types.h b/source/blender/makesdna/DNA_constraint_types.h
index eaae82d0ccd..6557f35970d 100644
--- a/source/blender/makesdna/DNA_constraint_types.h
+++ b/source/blender/makesdna/DNA_constraint_types.h
@@ -745,7 +745,7 @@ typedef enum eConstraint_EulerOrder {
/* -------------------------------------- */
-/* bRotateLikeConstraint.flag */
+/** #bRotateLikeConstraint.flag */
typedef enum eCopyRotation_Flags {
ROTLIKE_X = (1 << 0),
ROTLIKE_Y = (1 << 1),
@@ -758,7 +758,7 @@ typedef enum eCopyRotation_Flags {
#endif
} eCopyRotation_Flags;
-/* bRotateLikeConstraint.mix_mode */
+/** #bRotateLikeConstraint.mix_mode */
typedef enum eCopyRotation_MixMode {
/* Replace rotation channel values. */
ROTLIKE_MIX_REPLACE = 0,
@@ -772,7 +772,7 @@ typedef enum eCopyRotation_MixMode {
ROTLIKE_MIX_AFTER = 4,
} eCopyRotation_MixMode;
-/* bLocateLikeConstraint.flag */
+/** #bLocateLikeConstraint.flag */
typedef enum eCopyLocation_Flags {
LOCLIKE_X = (1 << 0),
LOCLIKE_Y = (1 << 1),
@@ -785,7 +785,7 @@ typedef enum eCopyLocation_Flags {
LOCLIKE_OFFSET = (1 << 7),
} eCopyLocation_Flags;
-/* bSizeLikeConstraint.flag */
+/** #bSizeLikeConstraint.flag */
typedef enum eCopyScale_Flags {
SIZELIKE_X = (1 << 0),
SIZELIKE_Y = (1 << 1),
@@ -795,13 +795,13 @@ typedef enum eCopyScale_Flags {
SIZELIKE_UNIFORM = (1 << 5),
} eCopyScale_Flags;
-/* bTransLikeConstraint.flag */
+/** #bTransLikeConstraint.flag */
typedef enum eCopyTransforms_Flags {
/* Remove shear from the target matrix. */
TRANSLIKE_REMOVE_TARGET_SHEAR = (1 << 0),
} eCopyTransforms_Flags;
-/* bTransLikeConstraint.mix_mode */
+/** #bTransLikeConstraint.mix_mode */
typedef enum eCopyTransforms_MixMode {
/* Replace rotation channel values. */
TRANSLIKE_MIX_REPLACE = 0,
@@ -826,7 +826,7 @@ typedef enum eTransform_ToFrom {
TRANS_SCALE = 2,
} eTransform_ToFrom;
-/* bTransformConstraint.mix_mode_loc */
+/** #bTransformConstraint.mix_mode_loc */
typedef enum eTransform_MixModeLoc {
/* Add component values together (default). */
TRANS_MIXLOC_ADD = 0,
@@ -834,7 +834,7 @@ typedef enum eTransform_MixModeLoc {
TRANS_MIXLOC_REPLACE = 1,
} eTransform_MixModeLoc;
-/* bTransformConstraint.mix_mode_rot */
+/** #bTransformConstraint.mix_mode_rot */
typedef enum eTransform_MixModeRot {
/* Add component values together (default). */
TRANS_MIXROT_ADD = 0,
@@ -846,7 +846,7 @@ typedef enum eTransform_MixModeRot {
TRANS_MIXROT_AFTER = 3,
} eTransform_MixModeRot;
-/* bTransformConstraint.mix_mode_scale */
+/** #bTransformConstraint.mix_mode_scale */
typedef enum eTransform_MixModeScale {
/* Replace component values (default). */
TRANS_MIXSCALE_REPLACE = 0,
@@ -854,14 +854,14 @@ typedef enum eTransform_MixModeScale {
TRANS_MIXSCALE_MULTIPLY = 1,
} eTransform_MixModeScale;
-/* bSameVolumeConstraint.free_axis */
+/** #bSameVolumeConstraint.free_axis */
typedef enum eSameVolume_Axis {
SAMEVOL_X = 0,
SAMEVOL_Y = 1,
SAMEVOL_Z = 2,
} eSameVolume_Axis;
-/* bSameVolumeConstraint.mode */
+/** #bSameVolumeConstraint.mode */
typedef enum eSameVolume_Mode {
/* Strictly maintain the volume, overriding non-free axis scale. */
SAMEVOL_STRICT = 0,
@@ -871,7 +871,7 @@ typedef enum eSameVolume_Mode {
SAMEVOL_SINGLE_AXIS = 2,
} eSameVolume_Mode;
-/* bActionConstraint.flag */
+/** #bActionConstraint.flag */
typedef enum eActionConstraint_Flags {
/* Bones use "object" part of target action, instead of "same bone name" part */
ACTCON_BONE_USE_OBJECT_ACTION = (1 << 0),
@@ -879,7 +879,7 @@ typedef enum eActionConstraint_Flags {
ACTCON_USE_EVAL_TIME = (1 << 1),
} eActionConstraint_Flags;
-/* bActionConstraint.mix_mode */
+/** #bActionConstraint.mix_mode */
typedef enum eActionConstraint_MixMode {
/* Multiply the action transformation on the right. */
ACTCON_MIX_AFTER_FULL = 0,
diff --git a/source/blender/makesdna/DNA_curve_types.h b/source/blender/makesdna/DNA_curve_types.h
index 66206bcfddd..33a12592aa8 100644
--- a/source/blender/makesdna/DNA_curve_types.h
+++ b/source/blender/makesdna/DNA_curve_types.h
@@ -300,13 +300,13 @@ typedef struct Curve {
/* **************** CURVE ********************* */
-/* Curve.texflag */
+/** #Curve.texflag */
enum {
CU_AUTOSPACE = 1,
CU_AUTOSPACE_EVALUATED = 2,
};
-/* Curve.flag */
+/** #Curve.flag */
enum {
CU_3D = 1 << 0,
CU_FRONT = 1 << 1,
@@ -329,7 +329,7 @@ enum {
CU_MAP_TAPER = 1 << 15,
};
-/* Curve.twist_mode */
+/** #Curve.twist_mode */
enum {
CU_TWIST_Z_UP = 0,
/* CU_TWIST_Y_UP = 1, */ /* not used yet */
@@ -345,7 +345,7 @@ enum {
CU_BEVFAC_MAP_SPLINE = 2,
};
-/* Curve.spacemode */
+/** #Curve.spacemode */
enum {
CU_ALIGN_X_LEFT = 0,
CU_ALIGN_X_MIDDLE = 1,
@@ -354,7 +354,7 @@ enum {
CU_ALIGN_X_FLUSH = 4,
};
-/* Curve.align_y */
+/** #Curve.align_y */
enum {
CU_ALIGN_Y_TOP_BASELINE = 0,
CU_ALIGN_Y_TOP = 1,
@@ -363,7 +363,7 @@ enum {
CU_ALIGN_Y_BOTTOM = 4,
};
-/* Curve.bevel_mode */
+/** #Curve.bevel_mode */
enum {
CU_BEV_MODE_ROUND = 0,
CU_BEV_MODE_OBJECT = 1,
@@ -387,12 +387,12 @@ enum {
CU_OVERFLOW_TRUNCATE = 2,
};
-/* Nurb.flag */
+/** #Nurb.flag */
enum {
CU_SMOOTH = 1 << 0,
};
-/* Nurb.type */
+/** #Nurb.type */
enum {
CU_POLY = 0,
CU_BEZIER = 1,
@@ -573,7 +573,7 @@ typedef enum eBezTriple_KeyframeType {
/* *************** CHARINFO **************** */
-/* CharInfo.flag */
+/** #CharInfo.flag */
enum {
/* NOTE: CU_CHINFO_WRAP, CU_CHINFO_SMALLCAPS_TEST and CU_CHINFO_TRUNCATE are set dynamically. */
CU_CHINFO_BOLD = 1 << 0,
diff --git a/source/blender/makesdna/DNA_curves_types.h b/source/blender/makesdna/DNA_curves_types.h
index 97cc588e639..a1eefca4ab5 100644
--- a/source/blender/makesdna/DNA_curves_types.h
+++ b/source/blender/makesdna/DNA_curves_types.h
@@ -139,7 +139,7 @@ typedef struct Curves {
void *batch_cache;
} Curves;
-/* Curves.flag */
+/** #Curves.flag */
enum {
HA_DS_EXPAND = (1 << 0),
};
diff --git a/source/blender/makesdna/DNA_customdata_types.h b/source/blender/makesdna/DNA_customdata_types.h
index 56e223cda5f..05d300dcb63 100644
--- a/source/blender/makesdna/DNA_customdata_types.h
+++ b/source/blender/makesdna/DNA_customdata_types.h
@@ -80,7 +80,7 @@ typedef struct CustomData {
CustomDataExternal *external;
} CustomData;
-/* CustomData.type */
+/** #CustomData.type */
typedef enum CustomDataType {
/* Used by GLSL attributes in the cases when we need a delayed CD type
* assignment (in the cases when we don't know in advance which layer
@@ -235,7 +235,7 @@ typedef struct CustomData_MeshMasks {
uint64_t lmask;
} CustomData_MeshMasks;
-/* CustomData.flag */
+/** #CustomData.flag */
enum {
/* Indicates layer should not be copied by CustomData_from_template or CustomData_copy_data */
CD_FLAG_NOCOPY = (1 << 0),
diff --git a/source/blender/makesdna/DNA_image_types.h b/source/blender/makesdna/DNA_image_types.h
index 06b589d4f76..4e66e2446f0 100644
--- a/source/blender/makesdna/DNA_image_types.h
+++ b/source/blender/makesdna/DNA_image_types.h
@@ -212,7 +212,7 @@ typedef struct Image {
/* **************** IMAGE ********************* */
-/* Image.flag */
+/** #Image.flag */
enum {
IMA_HIGH_BITDEPTH = (1 << 0),
IMA_FLAG_UNUSED_1 = (1 << 1), /* cleared */
@@ -235,7 +235,7 @@ enum {
IMA_FLAG_UNUSED_16 = (1 << 16), /* cleared */
};
-/* Image.gpuflag */
+/** #Image.gpuflag */
enum {
/** All mipmap levels in OpenGL texture set? */
IMA_GPU_MIPMAP_COMPLETE = (1 << 0),
@@ -268,7 +268,7 @@ typedef enum eImageType {
IMA_TYPE_COMPOSITE = 5,
} eImageType;
-/* Image.gen_type */
+/** #Image.gen_type */
enum {
IMA_GENTYPE_BLANK = 0,
IMA_GENTYPE_GRID = 1,
@@ -278,12 +278,12 @@ enum {
/* render */
#define IMA_MAX_RENDER_TEXT (1 << 9)
-/* Image.gen_flag */
+/** #Image.gen_flag */
enum {
IMA_GEN_FLOAT = 1,
};
-/* Image.alpha_mode */
+/** #Image.alpha_mode */
enum {
IMA_ALPHA_STRAIGHT = 0,
IMA_ALPHA_PREMUL = 1,
diff --git a/source/blender/makesdna/DNA_scene_types.h b/source/blender/makesdna/DNA_scene_types.h
index 64bd1616494..fb1ba15a099 100644
--- a/source/blender/makesdna/DNA_scene_types.h
+++ b/source/blender/makesdna/DNA_scene_types.h
@@ -2447,11 +2447,11 @@ typedef enum eGPencil_Guide_Reference {
/* UnitSettings */
#define USER_UNIT_ADAPTIVE 0xFF
-/* UnitSettings.system */
+/** #UnitSettings.system */
#define USER_UNIT_NONE 0
#define USER_UNIT_METRIC 1
#define USER_UNIT_IMPERIAL 2
-/* UnitSettings.flag */
+/** #UnitSettings.flag */
#define USER_UNIT_OPT_SPLIT 1
#define USER_UNIT_ROT_RADIANS 2