diff options
author | Campbell Barton <ideasman42@gmail.com> | 2022-01-06 05:54:52 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2022-01-06 05:54:52 +0300 |
commit | 499fec6f79a26c9c9d2d61b90bda2e4cec424f81 (patch) | |
tree | 828271035f950a504f11a8bdb3454516835d0800 /source/blender/makesdna | |
parent | aa363ec2ae9382c052f024284dcdb77ac495c177 (diff) |
Cleanup: spelling in comments
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_action_types.h | 2 | ||||
-rw-r--r-- | source/blender/makesdna/DNA_anim_types.h | 2 | ||||
-rw-r--r-- | source/blender/makesdna/DNA_armature_types.h | 4 | ||||
-rw-r--r-- | source/blender/makesdna/DNA_brush_types.h | 2 | ||||
-rw-r--r-- | source/blender/makesdna/DNA_material_types.h | 2 | ||||
-rw-r--r-- | source/blender/makesdna/DNA_node_types.h | 2 | ||||
-rw-r--r-- | source/blender/makesdna/DNA_object_types.h | 2 | ||||
-rw-r--r-- | source/blender/makesdna/DNA_scene_types.h | 6 | ||||
-rw-r--r-- | source/blender/makesdna/DNA_space_types.h | 6 | ||||
-rw-r--r-- | source/blender/makesdna/DNA_view3d_types.h | 2 | ||||
-rw-r--r-- | source/blender/makesdna/intern/dna_genfile.c | 2 |
11 files changed, 17 insertions, 15 deletions
diff --git a/source/blender/makesdna/DNA_action_types.h b/source/blender/makesdna/DNA_action_types.h index 8e7551e1703..82b20483902 100644 --- a/source/blender/makesdna/DNA_action_types.h +++ b/source/blender/makesdna/DNA_action_types.h @@ -468,7 +468,7 @@ typedef enum eRotationModes { typedef struct bPose { /** List of pose channels, PoseBones in RNA. */ ListBase chanbase; - /** Ghash for quicker string lookups. */ + /** Use a hash-table for quicker string lookups. */ struct GHash *chanhash; /* Flat array of pose channels. It references pointers from diff --git a/source/blender/makesdna/DNA_anim_types.h b/source/blender/makesdna/DNA_anim_types.h index 5dbed6b4d24..bd9f9d8ec3d 100644 --- a/source/blender/makesdna/DNA_anim_types.h +++ b/source/blender/makesdna/DNA_anim_types.h @@ -348,7 +348,7 @@ typedef enum eDriverTarget_Flag { /** idtype can only be 'Object' */ DTAR_FLAG_ID_OB_ONLY = (1 << 1), - /* "localspace" flags */ + /* "local-space" flags. */ /** base flag - basically "pre parent+constraints" */ DTAR_FLAG_LOCALSPACE = (1 << 2), /** include constraints transformed to space including parents */ diff --git a/source/blender/makesdna/DNA_armature_types.h b/source/blender/makesdna/DNA_armature_types.h index 3b65378f9eb..566ffd19669 100644 --- a/source/blender/makesdna/DNA_armature_types.h +++ b/source/blender/makesdna/DNA_armature_types.h @@ -124,11 +124,11 @@ typedef struct bArmature { ListBase bonebase; - /** Ghash for quicker lookups of bones by name. */ + /** Use a hash-table for quicker lookups of bones by name. */ struct GHash *bonehash; void *_pad1; - /** Editbone listbase, we use pointer so we can check state. */ + /** #EditBone list (use an allocated pointer so the state can be checked). */ ListBase *edbo; /* active bones should work like active object where possible diff --git a/source/blender/makesdna/DNA_brush_types.h b/source/blender/makesdna/DNA_brush_types.h index 634ebdff253..4976168a890 100644 --- a/source/blender/makesdna/DNA_brush_types.h +++ b/source/blender/makesdna/DNA_brush_types.h @@ -123,7 +123,7 @@ typedef struct BrushGpencilSettings { int sculpt_mode_flag; /** Preset type (used to reset brushes - internal). */ short preset_type; - /** Brush preselected mode (Active/Material/Vertexcolor). */ + /** Brush preselected mode (Active/Material/Vertex-color). */ short brush_draw_mode; /** Randomness for Hue. */ diff --git a/source/blender/makesdna/DNA_material_types.h b/source/blender/makesdna/DNA_material_types.h index 67cd68afb8a..5d682d963ab 100644 --- a/source/blender/makesdna/DNA_material_types.h +++ b/source/blender/makesdna/DNA_material_types.h @@ -293,7 +293,7 @@ typedef struct Material { /* #define TEXCO_STRESS (1 << 14) */ /* deprecated */ /* #define TEXCO_SPEED (1 << 15) */ /* deprecated */ -/* mapto */ +/** #MTex.mapto */ #define MAP_COL (1 << 0) #define MAP_ALPHA (1 << 7) diff --git a/source/blender/makesdna/DNA_node_types.h b/source/blender/makesdna/DNA_node_types.h index e349dfd8704..becc2d290f7 100644 --- a/source/blender/makesdna/DNA_node_types.h +++ b/source/blender/makesdna/DNA_node_types.h @@ -307,7 +307,7 @@ typedef struct bNode { char _pad1[4]; - /** Entire boundbox (world-space). */ + /** Entire bound-box (world-space). */ rctf totr; /** Optional preview area. */ rctf prvr; diff --git a/source/blender/makesdna/DNA_object_types.h b/source/blender/makesdna/DNA_object_types.h index 13a368e4263..5cce7ec5f67 100644 --- a/source/blender/makesdna/DNA_object_types.h +++ b/source/blender/makesdna/DNA_object_types.h @@ -152,7 +152,7 @@ typedef struct Object_Runtime { /** Start time of the mode transfer overlay animation. */ double overlay_mode_transfer_start_time; - /** Axis aligned boundbox (in localspace). */ + /** Axis aligned bound-box (in local-space). */ struct BoundBox *bb; /** diff --git a/source/blender/makesdna/DNA_scene_types.h b/source/blender/makesdna/DNA_scene_types.h index 4607a47a9a8..a491e131d71 100644 --- a/source/blender/makesdna/DNA_scene_types.h +++ b/source/blender/makesdna/DNA_scene_types.h @@ -1341,8 +1341,10 @@ typedef struct SequencerToolSettings { short snap_flag; /* eSeqOverlapMode */ int overlap_mode; - /** When there are many snap points, 0-1 range corresponds to resolution from boundbox to all - * possible snap points. */ + /** + * When there are many snap points, + * 0-1 range corresponds to resolution from bound-box to all possible snap points. + */ int snap_distance; int pivot_point; } SequencerToolSettings; diff --git a/source/blender/makesdna/DNA_space_types.h b/source/blender/makesdna/DNA_space_types.h index 5a98277531c..5981d20cc38 100644 --- a/source/blender/makesdna/DNA_space_types.h +++ b/source/blender/makesdna/DNA_space_types.h @@ -986,7 +986,7 @@ enum eFileDetails { */ #define FILE_SELECT_MAX_RECURSIONS (FILE_MAX_LIBEXTRA / 2) -/** Filesel types. */ +/** File selector types. */ typedef enum eFileSelectType { FILE_LOADLIB = 1, FILE_MAIN = 2, @@ -1000,7 +1000,7 @@ typedef enum eFileSelectType { FILE_SPECIAL = 9, } eFileSelectType; -/** filesel op property -> action. */ +/** File-selector op property -> action. */ typedef enum eFileSel_Action { FILE_OPENFILE = 0, FILE_SAVE = 1, @@ -1755,7 +1755,7 @@ typedef struct SpaceClip { */ float stabmat[4][4], unistabmat[4][4]; - /* movie postprocessing */ + /** Movie postprocessing. */ int postproc_flag; /* grease pencil */ diff --git a/source/blender/makesdna/DNA_view3d_types.h b/source/blender/makesdna/DNA_view3d_types.h index 5f4353b6f3a..ae95f58d4f0 100644 --- a/source/blender/makesdna/DNA_view3d_types.h +++ b/source/blender/makesdna/DNA_view3d_types.h @@ -419,7 +419,7 @@ enum { RV3D_LOCK_ANY_TRANSFORM = (RV3D_LOCK_LOCATION | RV3D_LOCK_ROTATION | RV3D_LOCK_ZOOM_AND_DOLLY), }; -/* Bitwise OR of the regular lock-flags with runtime only lock-flags. */ +/** Bit-wise OR of the regular lock-flags with runtime only lock-flags. */ #define RV3D_LOCK_FLAGS(rv3d) ((rv3d)->viewlock | ((rv3d)->runtime_viewlock)) /** #RegionView3D.viewlock_quad */ diff --git a/source/blender/makesdna/intern/dna_genfile.c b/source/blender/makesdna/intern/dna_genfile.c index bdf29b22787..6322cb459dd 100644 --- a/source/blender/makesdna/intern/dna_genfile.c +++ b/source/blender/makesdna/intern/dna_genfile.c @@ -1127,7 +1127,7 @@ static void reconstruct_structs(const DNA_ReconstructInfo *reconstruct_info, * * \param reconstruct_info: Preprocessed reconstruct information generated by * #DNA_reconstruct_info_create. - * \param new_struct_nr: Index in newsdna->structs of the struct that is being reconstructed. + * \param new_struct_nr: Index in `newsdna->structs` of the struct that is being reconstructed. * \param old_block: Memory buffer containing the old struct. * \param new_block: Where to put converted struct contents. */ |