Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikhil Shringarpurey <Nikhil.Net>2022-03-02 21:05:15 +0300
committerHarley Acheson <harley.acheson@gmail.com>2022-03-02 21:05:15 +0300
commit721b705499fee2b999f74c7928892c9a9fce5bc2 (patch)
tree6acb8d49e5b97651a792e5918bafcc58f74cd114 /source/blender/modifiers
parentca0b72852961571d0099a7274fb34291494f3b45 (diff)
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
Diffstat (limited to 'source/blender/modifiers')
-rw-r--r--source/blender/modifiers/intern/MOD_explode.c4
-rw-r--r--source/blender/modifiers/intern/MOD_laplaciansmooth.c6
-rw-r--r--source/blender/modifiers/intern/MOD_weightvgmix.c2
3 files changed, 6 insertions, 6 deletions
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.
*/