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:
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/blenlib/intern/polyfill2d.c10
-rw-r--r--source/blender/bmesh/intern/bmesh_polygon.c2
-rw-r--r--source/blender/bmesh/tools/bmesh_beautify.c2
-rw-r--r--source/blender/python/mathutils/mathutils_geometry.c2
4 files changed, 8 insertions, 8 deletions
diff --git a/source/blender/blenlib/intern/polyfill2d.c b/source/blender/blenlib/intern/polyfill2d.c
index f5a226cebb6..9168d2f3228 100644
--- a/source/blender/blenlib/intern/polyfill2d.c
+++ b/source/blender/blenlib/intern/polyfill2d.c
@@ -433,7 +433,7 @@ void BLI_polyfill_calc_arena(
struct MemArena *arena)
{
- unsigned int *indicies = BLI_memarena_alloc(arena, sizeof(*indicies) * coords_tot);
+ unsigned int *indices = BLI_memarena_alloc(arena, sizeof(*indices) * coords_tot);
eSign *coords_sign = BLI_memarena_alloc(arena, sizeof(*coords_sign) * coords_tot);
BLI_polyfill_calc_ex(
@@ -441,9 +441,9 @@ void BLI_polyfill_calc_arena(
r_tris,
/* cache */
- indicies, coords_sign);
+ indices, coords_sign);
- /* indicies & coords_sign are no longer needed,
+ /* indices & coords_sign are no longer needed,
* caller can clear arena */
}
@@ -452,7 +452,7 @@ void BLI_polyfill_calc(
const unsigned int coords_tot,
unsigned int (*r_tris)[3])
{
- unsigned int *indicies = BLI_array_alloca(indicies, coords_tot);
+ unsigned int *indices = BLI_array_alloca(indices, coords_tot);
eSign *coords_sign = BLI_array_alloca(coords_sign, coords_tot);
BLI_polyfill_calc_ex(
@@ -460,5 +460,5 @@ void BLI_polyfill_calc(
r_tris,
/* cache */
- indicies, coords_sign);
+ indices, coords_sign);
}
diff --git a/source/blender/bmesh/intern/bmesh_polygon.c b/source/blender/bmesh/intern/bmesh_polygon.c
index a3aaea9e257..797c21d21b6 100644
--- a/source/blender/bmesh/intern/bmesh_polygon.c
+++ b/source/blender/bmesh/intern/bmesh_polygon.c
@@ -174,7 +174,7 @@ static void bm_face_calc_poly_center_mean_vertex_cos(BMFace *f, float r_cent[3],
* For tools that insist on using triangles, ideally we would cache this data.
*
* \param r_loops Store face loop pointers, (f->len)
- * \param r_index Store triangle triples, indicies into \a r_loops, ((f->len - 2) * 3)
+ * \param r_index Store triangle triples, indices into \a r_loops, ((f->len - 2) * 3)
*/
void BM_face_calc_tessellation(const BMFace *f, BMLoop **r_loops, unsigned int (*r_index)[3])
{
diff --git a/source/blender/bmesh/tools/bmesh_beautify.c b/source/blender/bmesh/tools/bmesh_beautify.c
index 26d02cfc084..45093f952d8 100644
--- a/source/blender/bmesh/tools/bmesh_beautify.c
+++ b/source/blender/bmesh/tools/bmesh_beautify.c
@@ -377,7 +377,7 @@ static void bm_edge_update_beauty_cost(BMEdge *e, Heap *eheap, HeapNode **eheap_
/* Beautify Fill */
/**
- * \note This function sets the edge indicies to invalid values.
+ * \note This function sets the edge indices to invalid values.
*/
void BM_mesh_beautify_fill(BMesh *bm, BMEdge **edge_array, const int edge_array_len,
const short flag, const short method,
diff --git a/source/blender/python/mathutils/mathutils_geometry.c b/source/blender/python/mathutils/mathutils_geometry.c
index 10f4e576ceb..16f51bdd34f 100644
--- a/source/blender/python/mathutils/mathutils_geometry.c
+++ b/source/blender/python/mathutils/mathutils_geometry.c
@@ -1103,7 +1103,7 @@ PyDoc_STRVAR(M_Geometry_points_in_planes_doc,
"\n"
" :arg planes: List of planes (4D vectors).\n"
" :type planes: list of :class:`mathutils.Vector`\n"
-" :return: two lists, once containing the vertices inside the planes, another containing the plane indicies used\n"
+" :return: two lists, once containing the vertices inside the planes, another containing the plane indices used\n"
" :rtype: pair of lists\n"
);
/* note: this function could be optimized by some spatial structure */