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:
authorCampbell Barton <ideasman42@gmail.com>2014-01-13 07:53:41 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-01-13 08:31:57 +0400
commit61ff3dfdda3aa80323fb2c0324e1813a7b136a88 (patch)
tree82089c8d8c513b68999e3d99f4135ec24e8fef8b
parent717bf85545989eb91d429108202294da24cbb565 (diff)
Code Cleanup: spelling
-rw-r--r--release/scripts/modules/bpy_extras/mesh_utils.py2
-rw-r--r--release/scripts/startup/bl_ui/properties_object.py2
-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
-rw-r--r--source/gameengine/Ketsji/KX_PythonInit.cpp2
7 files changed, 11 insertions, 11 deletions
diff --git a/release/scripts/modules/bpy_extras/mesh_utils.py b/release/scripts/modules/bpy_extras/mesh_utils.py
index a92d2221c38..1e3e4c873a8 100644
--- a/release/scripts/modules/bpy_extras/mesh_utils.py
+++ b/release/scripts/modules/bpy_extras/mesh_utils.py
@@ -324,7 +324,7 @@ def edge_loops_from_edges(mesh, edges=None):
def ngon_tessellate(from_data, indices, fix_loops=True):
"""
Takes a polyline of indices (fgon) and returns a list of face
- indicie lists. Designed to be used for importers that need indices for an
+ index lists. Designed to be used for importers that need indices for an
fgon to create from existing verts.
:arg from_data: either a mesh, or a list/tuple of vectors.
diff --git a/release/scripts/startup/bl_ui/properties_object.py b/release/scripts/startup/bl_ui/properties_object.py
index da7403176b1..8d7f5cfdad1 100644
--- a/release/scripts/startup/bl_ui/properties_object.py
+++ b/release/scripts/startup/bl_ui/properties_object.py
@@ -172,7 +172,7 @@ class OBJECT_PT_groups(ObjectButtonsPanel, Panel):
obj_name = obj.name
for group in bpy.data.groups:
# XXX this is slow and stupid!, we need 2 checks, one thats fast
- # and another that we can be sure its not a name collission
+ # and another that we can be sure its not a name collision
# from linked library data
group_objects = group.objects
if obj_name in group.objects and obj in group_objects[:]:
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 */
diff --git a/source/gameengine/Ketsji/KX_PythonInit.cpp b/source/gameengine/Ketsji/KX_PythonInit.cpp
index 08e240903d1..68fe735eb79 100644
--- a/source/gameengine/Ketsji/KX_PythonInit.cpp
+++ b/source/gameengine/Ketsji/KX_PythonInit.cpp
@@ -530,7 +530,7 @@ static PyObject *gPyGetBlendFileList(PyObject *, PyObject *args)
if ((dp = opendir(cpath)) == NULL) {
/* todo, show the errno, this shouldnt happen anyway if the blendfile is readable */
- fprintf(stderr, "Could not read directoty (%s) failed, code %d (%s)\n", cpath, errno, strerror(errno));
+ fprintf(stderr, "Could not read directory (%s) failed, code %d (%s)\n", cpath, errno, strerror(errno));
return list;
}