diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-11-21 15:11:48 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-11-21 15:15:11 +0300 |
commit | 1fbb86654a82df7bbce0566b8b335f8631116d65 (patch) | |
tree | a33112dce9529708a8183a1145330d7c06303e1f /source/blender | |
parent | 7c18fcbe03271f15ed4f6f4af14c60e84f8bb9cc (diff) |
Cleanup: spelling
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/bmesh/tools/bmesh_bevel.c | 4 | ||||
-rw-r--r-- | source/blender/makesdna/DNA_curveprofile_types.h | 9 | ||||
-rw-r--r-- | source/blender/makesdna/DNA_space_types.h | 10 |
3 files changed, 12 insertions, 11 deletions
diff --git a/source/blender/bmesh/tools/bmesh_bevel.c b/source/blender/bmesh/tools/bmesh_bevel.c index 6989946147e..7338c2b9f7a 100644 --- a/source/blender/bmesh/tools/bmesh_bevel.c +++ b/source/blender/bmesh/tools/bmesh_bevel.c @@ -1739,7 +1739,7 @@ static void calculate_profile(BevelParams *bp, BoundVert *bndv, bool reversed, b } if (bp->vmesh_method == BEVEL_VMESH_CUTOFF && map_ok) { /* Calculate the "height" of the profile by putting the (0,0) and (1,1) corners of the - * un-transformed profile throught the 2D->3D map and calculating the distance between them */ + * un-transformed profile thought the 2D->3D map and calculating the distance between them. */ zero_v3(p); mul_v3_m4v3(bottom_corner, map, p); p[0] = 1.0f; @@ -3024,7 +3024,7 @@ static bool adjust_the_cycle_or_chain_fast(BoundVert *vstart, int np, bool iscyc /** Helper function to return the next Beveled EdgeHalf along a path. * \param toward_bv Whether the direction to travel points toward or away from the BevVert * connected to the current EdgeHalf - * \param r_bv The BevVert conencted to the EdgeHalf-- updated if we're travelling to the other + * \param r_bv The BevVert connected to the EdgeHalf-- updated if we're traveling to the other * EdgeHalf of an original edge * \note This only returns the most parallel edge if it's the most parallel by * at least 10 degrees. This is a somewhat arbitrary choice, but it makes sure that consistent diff --git a/source/blender/makesdna/DNA_curveprofile_types.h b/source/blender/makesdna/DNA_curveprofile_types.h index d7e3591a9b8..dba05da910e 100644 --- a/source/blender/makesdna/DNA_curveprofile_types.h +++ b/source/blender/makesdna/DNA_curveprofile_types.h @@ -34,8 +34,9 @@ #define PROF_N_TABLE(n_pts) min_ii(PROF_TABLE_MAX, (((n_pts - 1)) * PROF_RESOL) + 1) /** Each control point that makes up the profile. - * \note The flags use the same enum as Bezier curves, but they aren't garanteed - * to have identical functionality, and all types aren't implemented. */ + * \note The flags use the same enum as Bezier curves, but they aren't guaranteed + * to have identical functionality, and all types aren't implemented. + */ typedef struct CurveProfilePoint { /** Location of the point, keep together. */ float x, y; @@ -50,7 +51,7 @@ enum { PROF_SELECT = (1 << 0), }; -/** Defines a profile */ +/** Defines a profile. */ typedef struct CurveProfile { /** Number of user-added points that define the profile. */ short path_len; @@ -85,7 +86,7 @@ typedef enum eCurveProfilePresets { PROF_PRESET_SUPPORTS = 1, /* Support loops for a regular curved profile. */ PROF_PRESET_CORNICE = 2, /* Moulding type example. */ PROF_PRESET_CROWN = 3, /* Second moulding example. */ - PROF_PRESET_STEPS = 4, /* Dynamic number of steps defined by totsegments. */ + PROF_PRESET_STEPS = 4, /* Dynamic number of steps defined by segments_len. */ } eCurveProfilePresets; #endif diff --git a/source/blender/makesdna/DNA_space_types.h b/source/blender/makesdna/DNA_space_types.h index 82f6da8bb46..8670d8f6633 100644 --- a/source/blender/makesdna/DNA_space_types.h +++ b/source/blender/makesdna/DNA_space_types.h @@ -83,13 +83,13 @@ typedef struct SpaceLink { enum { /** * The space is not a regular one opened through the editor menu (for example) but spawned by an - * operator to fulfill some task and then disappear again. Can typically be cancelled using Esc, - * but that is handled on the editor level. */ + * operator to fulfill some task and then disappear again. + * Can typically be cancelled using Escape, but that is handled on the editor level. */ SPACE_FLAG_TYPE_TEMPORARY = (1 << 0), /** - * Used to mark a space as active but "overlapped" by temporary fullscreen spaces. Without this - * we wouldn't be able to restore the correct active space after closing temp fullscreens - * reliably if the same space type is opened twice in a fullscreen stack (see T19296). We don't + * Used to mark a space as active but "overlapped" by temporary full-screen spaces. Without this + * we wouldn't be able to restore the correct active space after closing temp full-screens + * reliably if the same space type is opened twice in a full-screen stack (see T19296). We don't * actually open the same space twice, we have to pretend it is by managing area order carefully. */ SPACE_FLAG_TYPE_WAS_ACTIVE = (1 << 1), |