From 721b705499fee2b999f74c7928892c9a9fce5bc2 Mon Sep 17 00:00:00 2001 From: Nikhil Shringarpurey Date: Wed, 2 Mar 2022 10:05:15 -0800 Subject: UI: Comments Misspellings of Vertex/Vertices Correct misspellings in code comments of "vertex" and "vertices". See D13932 for more details. Differential Revision: https://developer.blender.org/D13932 Reviewed by Harley Acheson --- source/blender/modifiers/intern/MOD_explode.c | 4 ++-- source/blender/modifiers/intern/MOD_laplaciansmooth.c | 6 +++--- source/blender/modifiers/intern/MOD_weightvgmix.c | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'source/blender/modifiers') diff --git a/source/blender/modifiers/intern/MOD_explode.c b/source/blender/modifiers/intern/MOD_explode.c index e592824a522..e2fd6b418fb 100644 --- a/source/blender/modifiers/intern/MOD_explode.c +++ b/source/blender/modifiers/intern/MOD_explode.c @@ -928,7 +928,7 @@ static Mesh *explodeMesh(ExplodeModifierData *emd, ctime = BKE_scene_ctime_get(scene); - /* hash table for vertice <-> particle relations */ + /* hash table for vertex <-> particle relations */ vertpahash = BLI_edgehash_new(__func__); for (i = 0; i < totface; i++) { @@ -966,7 +966,7 @@ static Mesh *explodeMesh(ExplodeModifierData *emd, } } - /* make new vertice indexes & count total vertices after duplication */ + /* make new vertex indexes & count total vertices after duplication */ ehi = BLI_edgehashIterator_new(vertpahash); for (; !BLI_edgehashIterator_isDone(ehi); BLI_edgehashIterator_step(ehi)) { BLI_edgehashIterator_setValue(ehi, POINTER_FROM_INT(totdup)); diff --git a/source/blender/modifiers/intern/MOD_laplaciansmooth.c b/source/blender/modifiers/intern/MOD_laplaciansmooth.c index eed5430cc10..265d2e7ec05 100644 --- a/source/blender/modifiers/intern/MOD_laplaciansmooth.c +++ b/source/blender/modifiers/intern/MOD_laplaciansmooth.c @@ -48,8 +48,8 @@ struct BLaplacianSystem { int numLoops; /* Number of edges. */ int numPolys; /* Number of faces. */ int numVerts; /* Number of verts. */ - short *numNeFa; /* Number of neighbors faces around vertice. */ - short *numNeEd; /* Number of neighbors Edges around vertice. */ + short *numNeFa; /* Number of neighbors faces around vertex. */ + short *numNeEd; /* Number of neighbors Edges around vertex. */ bool *zerola; /* Is zero area or length. */ /* Pointers to data. */ @@ -283,7 +283,7 @@ static void fill_laplacian_matrix(LaplacianSystem *sys) for (; l_next != l_term; l_prev = l_curr, l_curr = l_next, l_next++) { const uint l_curr_index = l_curr - sys->mloop; - /* Is ring if number of faces == number of edges around vertice. */ + /* Is ring if number of faces == number of edges around vertex. */ if (sys->numNeEd[l_curr->v] == sys->numNeFa[l_curr->v] && sys->zerola[l_curr->v] == false) { EIG_linear_solver_matrix_add(sys->context, l_curr->v, diff --git a/source/blender/modifiers/intern/MOD_weightvgmix.c b/source/blender/modifiers/intern/MOD_weightvgmix.c index 1b6472e2d42..e23ee1efb19 100644 --- a/source/blender/modifiers/intern/MOD_weightvgmix.c +++ b/source/blender/modifiers/intern/MOD_weightvgmix.c @@ -219,7 +219,7 @@ static Mesh *modifyMesh(ModifierData *md, const ModifierEvalContext *ctx, Mesh * /* * Note that we only invert the weight values within provided vgroups, the selection based on - * which vertice is affected because it belongs or not to a group remains unchanged. + * which vertex is affected because it belongs or not to a group remains unchanged. * In other words, vertices not belonging to a group won't be affected, even though their * inverted 'virtual' weight would be 1.0f. */ -- cgit v1.2.3