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 <ideasman42@gmail.com>2021-07-23 09:56:00 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-07-23 10:03:51 +0300
commitced94bc11c84f3c997949c2a0ec2449054a8e417 (patch)
tree03a684ca483d2707905f001da29ad600c1eeb394 /source/blender/makesdna
parent7ce0d9d79166c281c161d124ee72dc448efd4325 (diff)
Cleanup: code comments punctuation / spacing
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r--source/blender/makesdna/DNA_action_types.h4
-rw-r--r--source/blender/makesdna/DNA_anim_types.h22
-rw-r--r--source/blender/makesdna/DNA_constraint_types.h8
-rw-r--r--source/blender/makesdna/DNA_ipo_types.h8
-rw-r--r--source/blender/makesdna/DNA_light_types.h2
-rw-r--r--source/blender/makesdna/DNA_mask_types.h4
-rw-r--r--source/blender/makesdna/DNA_object_types.h2
-rw-r--r--source/blender/makesdna/DNA_rigidbody_types.h4
-rw-r--r--source/blender/makesdna/DNA_scene_types.h2
-rw-r--r--source/blender/makesdna/DNA_screen_types.h2
-rw-r--r--source/blender/makesdna/DNA_userdef_types.h6
-rw-r--r--source/blender/makesdna/DNA_view2d_types.h2
-rw-r--r--source/blender/makesdna/DNA_windowmanager_types.h2
13 files changed, 34 insertions, 34 deletions
diff --git a/source/blender/makesdna/DNA_action_types.h b/source/blender/makesdna/DNA_action_types.h
index aba6ccfd3ba..baed2aa2866 100644
--- a/source/blender/makesdna/DNA_action_types.h
+++ b/source/blender/makesdna/DNA_action_types.h
@@ -830,7 +830,7 @@ typedef struct SpaceAction {
/** The currently active context (when not showing action). */
bDopeSheet ads;
- /** For Time-Slide transform mode drawing - current frame?. */
+ /** For Time-Slide transform mode drawing - current frame? */
float timeslide;
short flag;
@@ -838,7 +838,7 @@ typedef struct SpaceAction {
char mode;
/* Storage for sub-space types. */
char mode_prev;
- /** Automatic keyframe snapping mode . */
+ /** Automatic keyframe snapping mode. */
char autosnap;
/** (eTimeline_Cache_Flag). */
char cache_display;
diff --git a/source/blender/makesdna/DNA_anim_types.h b/source/blender/makesdna/DNA_anim_types.h
index 837dadaa719..a49a76c3f26 100644
--- a/source/blender/makesdna/DNA_anim_types.h
+++ b/source/blender/makesdna/DNA_anim_types.h
@@ -51,7 +51,7 @@ typedef struct FModifier {
/** Pointer to modifier data. */
void *data;
- /** User-defined description for the modifier - MAX_ID_NAME-2. */
+ /** User-defined description for the modifier - `MAX_ID_NAME - 2`. */
char name[64];
/** Type of f-curve modifier. */
short type;
@@ -185,7 +185,7 @@ typedef enum eFMod_Generator_Functions {
/* envelope modifier - envelope data */
typedef struct FCM_EnvelopeData {
- /** Min/max values for envelope at this point (absolute values) . */
+ /** Min/max values for envelope at this point (absolute values). */
float min, max;
/** Time for that this sample-point occurs. */
float time;
@@ -198,7 +198,7 @@ typedef struct FCM_EnvelopeData {
/* envelope-like adjustment to values (for fade in/out) */
typedef struct FMod_Envelope {
- /** Data-points defining envelope to apply (array) . */
+ /** Data-points defining envelope to apply (array). */
FCM_EnvelopeData *data;
/** Number of envelope points. */
int totvert;
@@ -321,7 +321,7 @@ typedef struct DriverTarget {
/**
* Name of the posebone to use
- * (for vars where DTAR_FLAG_STRUCT_REF is used) - MAX_ID_NAME-2.
+ * (for vars where DTAR_FLAG_STRUCT_REF is used) - `MAX_ID_NAME - 2`.
*/
char pchan_name[64];
/** Transform channel index (for #DVAR_TYPE_TRANSFORM_CHAN). */
@@ -418,7 +418,7 @@ typedef struct DriverVar {
/**
* Name of the variable to use in py-expression
- * (must be valid python identifier) - MAX_ID_NAME-2.
+ * (must be valid python identifier) - `MAX_ID_NAME - 2`.
*/
char name[64];
@@ -734,7 +734,7 @@ typedef struct NlaStrip {
/** F-Curve modifiers to be applied to the entire strip's referenced F-Curves. */
ListBase modifiers;
- /** User-Visible Identifier for Strip - MAX_ID_NAME-2. */
+ /** User-Visible Identifier for Strip - `MAX_ID_NAME - 2`. */
char name[64];
/** Influence of strip. */
@@ -873,7 +873,7 @@ typedef struct NlaTrack {
* \note not really useful, but we need a '_pad' var anyways! */
int index;
- /** Short user-description of this track - MAX_ID_NAME-2. */
+ /** Short user-description of this track - `MAX_ID_NAME - 2`. */
char name[64];
} NlaTrack;
@@ -917,7 +917,7 @@ typedef struct KS_Path {
/** ID block that keyframes are for. */
ID *id;
- /** Name of the group to add to - MAX_ID_NAME-2. */
+ /** Name of the group to add to - `MAX_ID_NAME - 2`. */
char group[64];
/** ID-type that path can be used on. */
@@ -977,13 +977,13 @@ typedef struct KeyingSet {
/** (KS_Path) paths to keyframe to. */
ListBase paths;
- /** Unique name (for search, etc.) - MAX_ID_NAME-2 . */
+ /** Unique name (for search, etc.) - `MAX_ID_NAME - 2`. */
char idname[64];
- /** User-viewable name for KeyingSet (for menus, etc.) - MAX_ID_NAME-2. */
+ /** User-viewable name for KeyingSet (for menus, etc.) - `MAX_ID_NAME - 2`. */
char name[64];
/** (RNA_DYN_DESCR_MAX) short help text. */
char description[240];
- /** Name of the typeinfo data used for the relative paths - MAX_ID_NAME-2. */
+ /** Name of the typeinfo data used for the relative paths - `MAX_ID_NAME - 2`. */
char typeinfo[64];
/** Index of the active path. */
diff --git a/source/blender/makesdna/DNA_constraint_types.h b/source/blender/makesdna/DNA_constraint_types.h
index 63bf587d7fb..a77fbc9e45e 100644
--- a/source/blender/makesdna/DNA_constraint_types.h
+++ b/source/blender/makesdna/DNA_constraint_types.h
@@ -425,7 +425,7 @@ typedef struct bRigidBodyJointConstraint {
typedef struct bClampToConstraint {
/** 'target' must be a curve. */
struct Object *tar;
- /** Which axis/plane to compare owner's location on . */
+ /** Which axis/plane to compare owner's location on. */
int flag;
/** For legacy reasons, this is flag2. used for any extra settings. */
int flag2;
@@ -474,7 +474,7 @@ typedef struct bTransformConstraint {
float from_min[3];
/** To map on to to_min/max range. */
float from_max[3];
- /** Range of motion on owner caused by target . */
+ /** Range of motion on owner caused by target. */
float to_min[3];
float to_max[3];
@@ -482,7 +482,7 @@ typedef struct bTransformConstraint {
float from_min_rot[3];
/** To map on to to_min/max range. */
float from_max_rot[3];
- /** Range of motion on owner caused by target . */
+ /** Range of motion on owner caused by target. */
float to_min_rot[3];
float to_max_rot[3];
@@ -490,7 +490,7 @@ typedef struct bTransformConstraint {
float from_min_scale[3];
/** To map on to to_min/max range. */
float from_max_scale[3];
- /** Range of motion on owner caused by target . */
+ /** Range of motion on owner caused by target. */
float to_min_scale[3];
float to_max_scale[3];
} bTransformConstraint;
diff --git a/source/blender/makesdna/DNA_ipo_types.h b/source/blender/makesdna/DNA_ipo_types.h
index 0552c449819..4f71a257877 100644
--- a/source/blender/makesdna/DNA_ipo_types.h
+++ b/source/blender/makesdna/DNA_ipo_types.h
@@ -63,9 +63,9 @@ typedef struct IpoDriver {
typedef struct IpoCurve {
struct IpoCurve *next, *prev;
- /** Array of BPoints (sizeof(BPoint) * totvert) - i.e. baked/imported data. */
+ /** Array of #BPoints `(sizeof(BPoint) * totvert)` - i.e. baked/imported data. */
struct BPoint *bp;
- /** Array of BezTriples (sizeof(BezTriple) * totvert) - i.e. user-editable keyframes . */
+ /** Array of #BezTriples `(sizeof(BezTriple) * totvert)` - i.e. user-editable keyframes. */
struct BezTriple *bezt;
/** Bounding boxes. */
@@ -75,7 +75,7 @@ typedef struct IpoCurve {
short blocktype, adrcode, vartype;
/** Total number of BezTriples (i.e. keyframes) on curve. */
short totvert;
- /** Interpolation and extrapolation modes . */
+ /** Interpolation and extrapolation modes. */
short ipo, extrap;
/** Flag= settings. */
short flag;
@@ -102,7 +102,7 @@ typedef struct Ipo {
/** A list of IpoCurve structs in a linked list. */
ListBase curve;
- /** Rect defining extents of keyframes?. */
+ /** Rect defining extents of keyframes? */
rctf cur;
/** Blocktype: self-explanatory; showkey: either 0 or 1
diff --git a/source/blender/makesdna/DNA_light_types.h b/source/blender/makesdna/DNA_light_types.h
index 82ff3c95834..5ec82a68a2d 100644
--- a/source/blender/makesdna/DNA_light_types.h
+++ b/source/blender/makesdna/DNA_light_types.h
@@ -134,7 +134,7 @@ typedef struct Light {
/* #define LA_NO_DIFF (1 << 11) */ /* not used anywhere */
/* #define LA_NO_SPEC (1 << 12) */ /* not used anywhere */
/* #define LA_SHAD_RAY (1 << 13) */ /* not used anywhere - cleaned */
-/* yafray: light shadowbuffer flag, softlight */
+/* yafray: light shadowbuffer flag, softlight */
/* Since it is used with LOCAL light, can't use LA_SHAD */
/* #define LA_YF_SOFT (1 << 14) */ /* not used anymore */
/* #define LA_LAYER_SHADOW (1 << 15) */ /* not used anymore */
diff --git a/source/blender/makesdna/DNA_mask_types.h b/source/blender/makesdna/DNA_mask_types.h
index 8868ac1ea12..e6a7c004078 100644
--- a/source/blender/makesdna/DNA_mask_types.h
+++ b/source/blender/makesdna/DNA_mask_types.h
@@ -93,7 +93,7 @@ typedef struct MaskSplinePointUW {
} MaskSplinePointUW;
typedef struct MaskSplinePoint {
- /** Actual point coordinates and its handles . */
+ /** Actual point coordinates and its handles. */
BezTriple bezt;
char _pad[4];
/** Number of uv feather values. */
@@ -173,7 +173,7 @@ typedef struct MaskLayer {
/** For animation. */
char flag;
- /** Matching 'Object' flag of the same name - eventually use in the outliner . */
+ /** Matching 'Object' flag of the same name - eventually use in the outliner. */
char restrictflag;
} MaskLayer;
diff --git a/source/blender/makesdna/DNA_object_types.h b/source/blender/makesdna/DNA_object_types.h
index dd31e85647d..60a34fef899 100644
--- a/source/blender/makesdna/DNA_object_types.h
+++ b/source/blender/makesdna/DNA_object_types.h
@@ -336,7 +336,7 @@ typedef struct Object {
/** Deprecated, use 'matbits'. */
short colbits DNA_DEPRECATED;
- /** Transformation settings and transform locks . */
+ /** Transformation settings and transform locks. */
short transflag, protectflag;
short trackflag, upflag;
/** Used for DopeSheet filtering settings (expanded/collapsed). */
diff --git a/source/blender/makesdna/DNA_rigidbody_types.h b/source/blender/makesdna/DNA_rigidbody_types.h
index 1d5e5eeed31..aa11e74e89d 100644
--- a/source/blender/makesdna/DNA_rigidbody_types.h
+++ b/source/blender/makesdna/DNA_rigidbody_types.h
@@ -125,7 +125,7 @@ typedef struct RigidBodyOb_Shared {
*/
typedef struct RigidBodyOb {
/* General Settings for this RigidBodyOb */
- /** (eRigidBodyOb_Type) role of RigidBody in sim . */
+ /** (eRigidBodyOb_Type) role of RigidBody in sim. */
short type;
/** (eRigidBody_Shape) collision shape to use. */
short shape;
@@ -243,7 +243,7 @@ typedef struct RigidBodyCon {
struct Object *ob2;
/* General Settings for this RigidBodyCon */
- /** (eRigidBodyCon_Type) role of RigidBody in sim . */
+ /** (eRigidBodyCon_Type) role of RigidBody in sim. */
short type;
/** Number of constraint solver iterations made per simulation step. */
short num_solver_iterations;
diff --git a/source/blender/makesdna/DNA_scene_types.h b/source/blender/makesdna/DNA_scene_types.h
index cd752b220a3..31352b2c8f4 100644
--- a/source/blender/makesdna/DNA_scene_types.h
+++ b/source/blender/makesdna/DNA_scene_types.h
@@ -1750,7 +1750,7 @@ typedef struct Scene {
/** (runtime) info/cache used for presenting playback framerate info to the user. */
void *fps_info;
- /* none of the dependency graph vars is mean to be saved */
+ /* None of the dependency graph vars is mean to be saved. */
struct GHash *depsgraph_hash;
char _pad7[4];
diff --git a/source/blender/makesdna/DNA_screen_types.h b/source/blender/makesdna/DNA_screen_types.h
index 5bd9cc7a999..d5b7458ae7b 100644
--- a/source/blender/makesdna/DNA_screen_types.h
+++ b/source/blender/makesdna/DNA_screen_types.h
@@ -522,7 +522,7 @@ typedef struct ARegion {
/** Use this string to draw info. */
char *headerstr;
- /** XXX 2.50, need spacedata equivalent?. */
+ /** XXX 2.50, need spacedata equivalent? */
void *regiondata;
ARegion_Runtime runtime;
diff --git a/source/blender/makesdna/DNA_userdef_types.h b/source/blender/makesdna/DNA_userdef_types.h
index 629aa191890..5f8a8c6230a 100644
--- a/source/blender/makesdna/DNA_userdef_types.h
+++ b/source/blender/makesdna/DNA_userdef_types.h
@@ -513,7 +513,7 @@ typedef struct bTheme {
typedef struct bAddon {
struct bAddon *next, *prev;
char module[64];
- /** User-Defined Properties on this Addon (for storing preferences). */
+ /** User-Defined Properties on this add-on (for storing preferences). */
IDProperty *prop;
} bAddon;
@@ -800,7 +800,7 @@ typedef struct UserDef {
short rvisize;
/** Rotating view icon brightness. */
short rvibright;
- /** Maximum number of recently used files to remember . */
+ /** Maximum number of recently used files to remember. */
short recent_files;
/** Milliseconds to spend spinning the view. */
short smooth_viewtx;
@@ -1291,7 +1291,7 @@ typedef enum eTimecodeStyles {
USER_TIMECODE_SECONDS_ONLY = 4,
/**
* Private (not exposed as generic choices) options.
- * milliseconds for sub-frames , SubRip format- HH:MM:SS,sss.
+ * milliseconds for sub-frames, SubRip format- HH:MM:SS,sss.
*/
USER_TIMECODE_SUBRIP = 100,
} eTimecodeStyles;
diff --git a/source/blender/makesdna/DNA_view2d_types.h b/source/blender/makesdna/DNA_view2d_types.h
index 131772d49b4..c385ac04bd3 100644
--- a/source/blender/makesdna/DNA_view2d_types.h
+++ b/source/blender/makesdna/DNA_view2d_types.h
@@ -50,7 +50,7 @@ typedef struct View2D {
/** Scroll_ui - temp settings used for UI drawing of scrollers. */
short scroll_ui;
- /** Keeptot - 'cur' rect cannot move outside the 'tot' rect?. */
+ /** Keeptot - 'cur' rect cannot move outside the 'tot' rect? */
short keeptot;
/** Keepzoom - axes that zooming cannot occur on, and also clamp within zoom-limits. */
short keepzoom;
diff --git a/source/blender/makesdna/DNA_windowmanager_types.h b/source/blender/makesdna/DNA_windowmanager_types.h
index 94e89944f08..a9016dd4edd 100644
--- a/source/blender/makesdna/DNA_windowmanager_types.h
+++ b/source/blender/makesdna/DNA_windowmanager_types.h
@@ -94,7 +94,7 @@ typedef struct Report {
/** ReportType. */
short type;
short flag;
- /** `strlen(message)`, saves some time calculating the word wrap . */
+ /** `strlen(message)`, saves some time calculating the word wrap. */
int len;
const char *typestr;
const char *message;