From f0f7282d9d9bb5deb6216ac95e280b24f89eb239 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 5 Jul 2021 12:47:46 +1000 Subject: Cleanup: spelling in comments --- source/blender/makesdna/DNA_action_types.h | 2 +- source/blender/makesdna/DNA_fileglobal_types.h | 2 +- source/blender/makesdna/DNA_fluid_types.h | 8 ++++---- source/blender/makesdna/DNA_gpencil_types.h | 4 ++-- source/blender/makesdna/DNA_mesh_types.h | 2 +- source/blender/makesdna/DNA_meshdata_types.h | 2 +- source/blender/makesdna/DNA_object_types.h | 2 +- source/blender/makesdna/DNA_rigidbody_types.h | 4 ++-- source/blender/makesdna/DNA_space_types.h | 2 +- source/blender/makesdna/DNA_view3d_types.h | 6 +++--- source/blender/makesdna/intern/makesdna.c | 2 +- 11 files changed, 18 insertions(+), 18 deletions(-) (limited to 'source/blender/makesdna') diff --git a/source/blender/makesdna/DNA_action_types.h b/source/blender/makesdna/DNA_action_types.h index c10788bff92..aba6ccfd3ba 100644 --- a/source/blender/makesdna/DNA_action_types.h +++ b/source/blender/makesdna/DNA_action_types.h @@ -135,7 +135,7 @@ typedef struct bAnimVizSettings { /* bAnimVizSettings->recalc */ typedef enum eAnimViz_RecalcFlags { - /* motionpaths need recalculating */ + /* Motion-paths need recalculating. */ ANIMVIZ_RECALC_PATHS = (1 << 0), } eAnimViz_RecalcFlags; diff --git a/source/blender/makesdna/DNA_fileglobal_types.h b/source/blender/makesdna/DNA_fileglobal_types.h index dc43524a325..a0285215ff9 100644 --- a/source/blender/makesdna/DNA_fileglobal_types.h +++ b/source/blender/makesdna/DNA_fileglobal_types.h @@ -32,7 +32,7 @@ extern "C" { * the moment of saving, and the file-specific settings. */ typedef struct FileGlobal { - /** Needs to be here, for human fileformat recognition (keep first!). */ + /** Needs to be here, for human file-format recognition (keep first!). */ char subvstr[4]; short subversion; diff --git a/source/blender/makesdna/DNA_fluid_types.h b/source/blender/makesdna/DNA_fluid_types.h index 5e36c5673a4..cec6eb0d044 100644 --- a/source/blender/makesdna/DNA_fluid_types.h +++ b/source/blender/makesdna/DNA_fluid_types.h @@ -544,7 +544,7 @@ typedef struct FluidDomainSettings { int boundary_width; /* Usually this is just 1. */ float gravity_final[3]; /* Scene or domain gravity multiplied with gravity weight. */ - /* -- User-accesible fields (from here on). -- */ + /* -- User-accessible fields (from here on). -- */ /* Adaptive domain options. */ int adapt_margin; @@ -640,7 +640,7 @@ typedef struct FluidDomainSettings { /* Fluid guiding options. */ float guide_alpha; /* Guiding weight scalar (determines strength). */ - int guide_beta; /* Guiding blur radius (affects size of vortices). */ + int guide_beta; /* Guiding blur radius (affects size of vortices vortices). */ float guide_vel_factor; /* Multiply guiding velocity by this factor. */ int guide_res[3]; /* Res for velocity guide grids - independent from base res. */ short guide_source; @@ -790,7 +790,7 @@ typedef struct FluidFlowSettings { float vel_coord[3]; char _pad1[4]; - /* -- User-accesible fields (from here on). -- */ + /* -- User-accessible fields (from here on). -- */ /* Emission. */ float density; @@ -856,7 +856,7 @@ typedef struct FluidEffectorSettings { float *verts_old; int numverts; - /* -- User-accesible fields (from here on). -- */ + /* -- User-accessible fields (from here on). -- */ float surface_distance; /* Thickness of mesh surface, used in obstacle sdf. */ int flags; diff --git a/source/blender/makesdna/DNA_gpencil_types.h b/source/blender/makesdna/DNA_gpencil_types.h index d0ae50d09ef..c573de6b54e 100644 --- a/source/blender/makesdna/DNA_gpencil_types.h +++ b/source/blender/makesdna/DNA_gpencil_types.h @@ -246,11 +246,11 @@ typedef struct bGPDstroke_Runtime { /** Runtime falloff factor (only for transform). */ float multi_frame_falloff; - /** Vertex offset in the vbo where this stroke starts. */ + /** Vertex offset in the VBO where this stroke starts. */ int stroke_start; /** Triangle offset in the ibo where this fill starts. */ int fill_start; - /** Curve Handles offset in the ibo where this handle starts. */ + /** Curve Handles offset in the IBO where this handle starts. */ int curve_start; /** Original stroke (used to dereference evaluated data) */ diff --git a/source/blender/makesdna/DNA_mesh_types.h b/source/blender/makesdna/DNA_mesh_types.h index 144e4594c98..2f089b28048 100644 --- a/source/blender/makesdna/DNA_mesh_types.h +++ b/source/blender/makesdna/DNA_mesh_types.h @@ -164,7 +164,7 @@ typedef struct Mesh { struct MVert *mvert; /** Array of edges. */ struct MEdge *medge; - /** Deformgroup vertices. */ + /** Deform-group vertices. */ struct MDeformVert *dvert; /* array of colors for the tessellated faces, must be number of tessellated diff --git a/source/blender/makesdna/DNA_meshdata_types.h b/source/blender/makesdna/DNA_meshdata_types.h index 346e65f0fa1..bc6b35c8e43 100644 --- a/source/blender/makesdna/DNA_meshdata_types.h +++ b/source/blender/makesdna/DNA_meshdata_types.h @@ -151,7 +151,7 @@ enum { /** \} */ /* -------------------------------------------------------------------- */ -/** \name Loop Tesselation Runtime Data +/** \name Loop Tessellation Runtime Data * \{ */ /** diff --git a/source/blender/makesdna/DNA_object_types.h b/source/blender/makesdna/DNA_object_types.h index 7050ba4b939..262d650c1ef 100644 --- a/source/blender/makesdna/DNA_object_types.h +++ b/source/blender/makesdna/DNA_object_types.h @@ -705,7 +705,7 @@ enum { /* OB_ADS_SHOWCONS = 1 << 12, */ /* UNUSED */ /* object's material channels */ /* OB_ADS_SHOWMATS = 1 << 13, */ /* UNUSED */ - /* object's marticle channels */ + /* object's particle channels */ /* OB_ADS_SHOWPARTS = 1 << 14, */ /* UNUSED */ }; diff --git a/source/blender/makesdna/DNA_rigidbody_types.h b/source/blender/makesdna/DNA_rigidbody_types.h index 740dc35517a..1d5e5eeed31 100644 --- a/source/blender/makesdna/DNA_rigidbody_types.h +++ b/source/blender/makesdna/DNA_rigidbody_types.h @@ -206,12 +206,12 @@ typedef enum eRigidBody_Shape { RB_SHAPE_SPHERE = 1, /** Rounded "pill" shape (i.e. calcium tablets). */ RB_SHAPE_CAPSULE = 2, - /** Cylinder (i.e. pringles can). */ + /** Cylinder (i.e. tin of beans). */ RB_SHAPE_CYLINDER = 3, /** Cone (i.e. party hat). */ RB_SHAPE_CONE = 4, - /** Convex hull (minimal shrinkwrap encompassing all verts). */ + /** Convex hull (minimal shrink-wrap encompassing all verts). */ RB_SHAPE_CONVEXH = 5, /** Triangulated mesh. */ RB_SHAPE_TRIMESH = 6, diff --git a/source/blender/makesdna/DNA_space_types.h b/source/blender/makesdna/DNA_space_types.h index cb571277438..bf5d820056b 100644 --- a/source/blender/makesdna/DNA_space_types.h +++ b/source/blender/makesdna/DNA_space_types.h @@ -448,7 +448,7 @@ typedef struct SpaceGraph { /** Mode for the Graph editor (eGraphEdit_Mode). */ short mode; /** - * Time-transform autosnapping settings for Graph editor + * Time-transform auto-snapping settings for Graph editor * (eAnimEdit_AutoSnap in DNA_action_types.h). */ short autosnap; diff --git a/source/blender/makesdna/DNA_view3d_types.h b/source/blender/makesdna/DNA_view3d_types.h index 80de5ae3b7c..08b29c82707 100644 --- a/source/blender/makesdna/DNA_view3d_types.h +++ b/source/blender/makesdna/DNA_view3d_types.h @@ -69,7 +69,7 @@ typedef struct RegionView3D { float clip_local[6][4]; struct BoundBox *clipbb; - /** Allocated backup of its self while in localview. */ + /** Allocated backup of its self while in local-view. */ struct RegionView3D *localvd; struct RenderEngine *render_engine; @@ -257,7 +257,7 @@ typedef struct View3D_Runtime { int flag; char _pad1[4]; - /* Only used for overlay stats while in localview. */ + /* Only used for overlay stats while in local-view. */ struct SceneStats *local_stats; } View3D_Runtime; @@ -295,7 +295,7 @@ typedef struct View3D { struct Object *camera, *ob_center; rctf render_border; - /** Allocated backup of its self while in localview. */ + /** Allocated backup of its self while in local-view. */ struct View3D *localvd; /** Optional string for armature bone to define center, MAXBONENAME. */ diff --git a/source/blender/makesdna/intern/makesdna.c b/source/blender/makesdna/intern/makesdna.c index 5b08f2bf100..fb1cf9b591d 100644 --- a/source/blender/makesdna/intern/makesdna.c +++ b/source/blender/makesdna/intern/makesdna.c @@ -422,7 +422,7 @@ static int add_name(const char *str) int isfuncptr = (strchr(str + 1, '(')) != NULL; DEBUG_PRINTF(3, "\t\t\t\t*** Function pointer or multidim array pointer found\n"); - /* functionpointer: transform the type (sometimes) */ + /* function-pointer: transform the type (sometimes). */ int i = 0; while (str[i] != ')') { -- cgit v1.2.3