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
This commit is contained in:
@@ -4375,7 +4375,7 @@ LinkNode *BKE_object_relational_superset(struct ViewLayer *view_layer,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* return all groups this object is apart of, caller must free.
|
* return all groups this object is a part of, caller must free.
|
||||||
*/
|
*/
|
||||||
struct LinkNode *BKE_object_groups(Main *bmain, Scene *scene, Object *ob)
|
struct LinkNode *BKE_object_groups(Main *bmain, Scene *scene, Object *ob)
|
||||||
{
|
{
|
||||||
|
@@ -164,7 +164,7 @@
|
|||||||
*
|
*
|
||||||
* - ``bmesh_kernel_*()`` - Low level API, for primitive functions that others are built ontop of.
|
* - ``bmesh_kernel_*()`` - Low level API, for primitive functions that others are built ontop of.
|
||||||
* - ``bmesh_***()`` - Low level API function.
|
* - ``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.
|
* but use prefix since they operate on BMesh data.
|
||||||
* - ``BM_***()`` - High level BMesh API function for use anywhere.
|
* - ``BM_***()`` - High level BMesh API function for use anywhere.
|
||||||
* - ``BMO_***()`` - High level operator API function for use anywhere.
|
* - ``BMO_***()`` - High level operator API function for use anywhere.
|
||||||
|
@@ -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.
|
* 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)
|
BMVert *bmesh_kernel_unglue_region_make_vert_multi_isolated(BMesh *bm, BMLoop *l_sep)
|
||||||
|
@@ -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.
|
* 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.
|
* 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)
|
void BM_mesh_select_mode_clean_ex(BMesh *bm, const short selectmode)
|
||||||
{
|
{
|
||||||
|
@@ -567,7 +567,7 @@ static BMOpDefine bmo_contextual_create_def = {
|
|||||||
},
|
},
|
||||||
/* slots_out */
|
/* slots_out */
|
||||||
{{"faces.out", BMO_OP_SLOT_ELEMENT_BUF, {BM_FACE}}, /* newly-made face(s) */
|
{{"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) */
|
{"edges.out", BMO_OP_SLOT_ELEMENT_BUF, {BM_EDGE}}, /* newly-made edge(s) */
|
||||||
{{'\0'}},
|
{{'\0'}},
|
||||||
},
|
},
|
||||||
|
@@ -51,9 +51,9 @@
|
|||||||
|
|
||||||
/* Note: All these flags _must_ be cleared on exit */
|
/* 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
|
#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
|
#define EDGE_NET _FLAG_WALK
|
||||||
/* tag verts we've visit */
|
/* tag verts we've visit */
|
||||||
#define VERT_VISIT _FLAG_WALK
|
#define VERT_VISIT _FLAG_WALK
|
||||||
|
@@ -834,7 +834,7 @@ static void *bmw_IslandManifoldWalker_step(BMWalker *walker)
|
|||||||
* Starts at a tool-flagged edge and walks over the edge loop
|
* 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)
|
static bool bm_edge_is_single(BMEdge *e)
|
||||||
{
|
{
|
||||||
return ((BM_edge_is_boundary(e)) && (e->l->f->len > 4) &&
|
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 */
|
/* walk over boundary of faces but stop at corners */
|
||||||
(owalk.is_single == false && vert_edge_tot > 2) ||
|
(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 */
|
* 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))) {
|
(owalk.is_single == true && vert_edge_tot == 2 && BM_edge_is_boundary(e))) {
|
||||||
/* find next boundary edge in the fan */
|
/* find next boundary edge in the fan */
|
||||||
|
@@ -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]);
|
EDGE_ORD(v_index[0], v_index[1]);
|
||||||
|
|
||||||
/* verts of each of the 2 faces attached to this edge
|
/* 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[0] = BM_elem_index_get(e->l->prev->v);
|
||||||
f_index[1] = BM_elem_index_get(e->l->radial_next->prev->v);
|
f_index[1] = BM_elem_index_get(e->l->radial_next->prev->v);
|
||||||
EDGE_ORD(f_index[0], f_index[1]);
|
EDGE_ORD(f_index[0], f_index[1]);
|
||||||
|
@@ -5050,7 +5050,7 @@ static int verg_radial(const void *va, const void *vb)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This function leaves faces tagged which are apart of the new region.
|
* This function leaves faces tagged which are a part of the new region.
|
||||||
*
|
*
|
||||||
* \note faces already tagged are ignored, to avoid finding the same regions twice:
|
* \note faces already tagged are ignored, to avoid finding the same regions twice:
|
||||||
* important when we have regions with equal face counts, see: T40309
|
* important when we have regions with equal face counts, see: T40309
|
||||||
|
@@ -816,7 +816,7 @@ int getTransformOrientation_ex(const bContext *C,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (em->bm->totedgesel >= 1) {
|
if (em->bm->totedgesel >= 1) {
|
||||||
/* find an edge that's apart of v_tri (no need to search all edges) */
|
/* find an edge that's a part of v_tri (no need to search all edges) */
|
||||||
float e_length;
|
float e_length;
|
||||||
int j;
|
int j;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user