From 3d26cd01b9ba6381eb165e11536345ae652dfb41 Mon Sep 17 00:00:00 2001 From: Harley Acheson Date: Mon, 19 Oct 2020 09:40:02 -0700 Subject: Spelling: Apart Versus A Part Corrects incorrect usages of the fragment 'apart of' when 'a part of' was required. Differential Revision: https://developer.blender.org/D9245 Reviewed by Campbell Barton --- source/blender/bmesh/bmesh.h | 2 +- source/blender/bmesh/intern/bmesh_core.c | 2 +- source/blender/bmesh/intern/bmesh_marking.c | 2 +- source/blender/bmesh/intern/bmesh_opdefines.c | 2 +- source/blender/bmesh/intern/bmesh_polygon_edgenet.c | 4 ++-- source/blender/bmesh/intern/bmesh_walkers_impl.c | 4 ++-- source/blender/bmesh/tools/bmesh_beautify.c | 2 +- 7 files changed, 9 insertions(+), 9 deletions(-) (limited to 'source/blender/bmesh') diff --git a/source/blender/bmesh/bmesh.h b/source/blender/bmesh/bmesh.h index 5d2f739651b..4441ccc0c88 100644 --- a/source/blender/bmesh/bmesh.h +++ b/source/blender/bmesh/bmesh.h @@ -164,7 +164,7 @@ * * - ``bmesh_kernel_*()`` - Low level API, for primitive functions that others are built ontop of. * - ``bmesh_***()`` - Low level API function. - * - ``bm_***()`` - 'static' functions, not apart of the API at all, + * - ``bm_***()`` - 'static' functions, not a part of the API at all, * but use prefix since they operate on BMesh data. * - ``BM_***()`` - High level BMesh API function for use anywhere. * - ``BMO_***()`` - High level operator API function for use anywhere. diff --git a/source/blender/bmesh/intern/bmesh_core.c b/source/blender/bmesh/intern/bmesh_core.c index 32ca90f5c13..d5ebc73dc1e 100644 --- a/source/blender/bmesh/intern/bmesh_core.c +++ b/source/blender/bmesh/intern/bmesh_core.c @@ -2913,7 +2913,7 @@ static void bmesh_edge_vert_swap__recursive(BMEdge *e, BMVert *v_dst, BMVert *v_ } /** - * This function assumes l_sep is apart of a larger fan which has already been + * This function assumes l_sep is a part of a larger fan which has already been * isolated by calling #bmesh_kernel_edge_separate to segregate it radially. */ BMVert *bmesh_kernel_unglue_region_make_vert_multi_isolated(BMesh *bm, BMLoop *l_sep) diff --git a/source/blender/bmesh/intern/bmesh_marking.c b/source/blender/bmesh/intern/bmesh_marking.c index 61df8cf0c25..a5d02cdc4e5 100644 --- a/source/blender/bmesh/intern/bmesh_marking.c +++ b/source/blender/bmesh/intern/bmesh_marking.c @@ -163,7 +163,7 @@ static bool bm_edge_is_face_visible_any(const BMEdge *e) * Remove isolated selected elements when in a mode doesn't support them. * eg: in edge-mode a selected vertex must be connected to a selected edge. * - * \note this could be made apart of #BM_mesh_select_mode_flush_ex + * \note this could be made a part of #BM_mesh_select_mode_flush_ex */ void BM_mesh_select_mode_clean_ex(BMesh *bm, const short selectmode) { diff --git a/source/blender/bmesh/intern/bmesh_opdefines.c b/source/blender/bmesh/intern/bmesh_opdefines.c index ea64c9415b9..05b84ba21e2 100644 --- a/source/blender/bmesh/intern/bmesh_opdefines.c +++ b/source/blender/bmesh/intern/bmesh_opdefines.c @@ -567,7 +567,7 @@ static BMOpDefine bmo_contextual_create_def = { }, /* slots_out */ {{"faces.out", BMO_OP_SLOT_ELEMENT_BUF, {BM_FACE}}, /* newly-made face(s) */ - /* note, this is for stand-alone edges only, not edges which are apart of newly created faces */ + /* note, this is for stand-alone edges only, not edges which are a part of newly created faces */ {"edges.out", BMO_OP_SLOT_ELEMENT_BUF, {BM_EDGE}}, /* newly-made edge(s) */ {{'\0'}}, }, diff --git a/source/blender/bmesh/intern/bmesh_polygon_edgenet.c b/source/blender/bmesh/intern/bmesh_polygon_edgenet.c index ad153f01cd4..09c0f48c2f6 100644 --- a/source/blender/bmesh/intern/bmesh_polygon_edgenet.c +++ b/source/blender/bmesh/intern/bmesh_polygon_edgenet.c @@ -51,9 +51,9 @@ /* Note: All these flags _must_ be cleared on exit */ -/* face is apart of the edge-net (including the original face we're splitting) */ +/* face is a part of the edge-net (including the original face we're splitting) */ #define FACE_NET _FLAG_WALK -/* edge is apart of the edge-net we're filling */ +/* edge is a part of the edge-net we're filling */ #define EDGE_NET _FLAG_WALK /* tag verts we've visit */ #define VERT_VISIT _FLAG_WALK diff --git a/source/blender/bmesh/intern/bmesh_walkers_impl.c b/source/blender/bmesh/intern/bmesh_walkers_impl.c index 99be57b7b53..dc9107a1616 100644 --- a/source/blender/bmesh/intern/bmesh_walkers_impl.c +++ b/source/blender/bmesh/intern/bmesh_walkers_impl.c @@ -834,7 +834,7 @@ static void *bmw_IslandManifoldWalker_step(BMWalker *walker) * Starts at a tool-flagged edge and walks over the edge loop */ -/* utility function to see if an edge is apart of an ngon boundary */ +/* utility function to see if an edge is a part of an ngon boundary */ static bool bm_edge_is_single(BMEdge *e) { return ((BM_edge_is_boundary(e)) && (e->l->f->len > 4) && @@ -1026,7 +1026,7 @@ static void *bmw_EdgeLoopWalker_step(BMWalker *walker) /* walk over boundary of faces but stop at corners */ (owalk.is_single == false && vert_edge_tot > 2) || - /* initial edge was a boundary, so is this edge and vertex is only apart of this face + /* initial edge was a boundary, so is this edge and vertex is only a part of this face * this lets us walk over the boundary of an ngon which is handy */ (owalk.is_single == true && vert_edge_tot == 2 && BM_edge_is_boundary(e))) { /* find next boundary edge in the fan */ diff --git a/source/blender/bmesh/tools/bmesh_beautify.c b/source/blender/bmesh/tools/bmesh_beautify.c index a25e4666a22..2d9b35697ff 100644 --- a/source/blender/bmesh/tools/bmesh_beautify.c +++ b/source/blender/bmesh/tools/bmesh_beautify.c @@ -119,7 +119,7 @@ static void erot_state_ex(const BMEdge *e, int v_index[2], int f_index[2]) EDGE_ORD(v_index[0], v_index[1]); /* verts of each of the 2 faces attached to this edge - * (that are not apart of this edge) */ + * (that are not a part of this edge) */ f_index[0] = BM_elem_index_get(e->l->prev->v); f_index[1] = BM_elem_index_get(e->l->radial_next->prev->v); EDGE_ORD(f_index[0], f_index[1]); -- cgit v1.2.3