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
path: root/source
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-02-24 10:44:04 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-02-24 10:44:04 +0400
commit1fbd91b8a1277f5616245ef8357f930681764adf (patch)
tree92af8a790e0b60c3860fb4cb7e470916eb498ce3 /source
parent6b85b96952becb00c6ad1ec185a9ac229a3ea344 (diff)
typo cleanup, no functional changes.
Diffstat (limited to 'source')
-rw-r--r--source/blender/bmesh/bmesh.h2
-rw-r--r--source/blender/bmesh/bmesh_queries.h2
-rw-r--r--source/blender/bmesh/intern/bmesh_newcore.c4
-rw-r--r--source/blender/bmesh/intern/bmesh_queries.c2
-rw-r--r--source/blender/bmesh/intern/bmesh_structure.c2
-rw-r--r--source/blender/python/bmesh/bmesh_py_types.c49
-rw-r--r--source/blender/python/bmesh/bmesh_py_utils.c2
-rw-r--r--source/blender/python/mathutils/mathutils.c4
-rw-r--r--source/blender/python/mathutils/mathutils_Matrix.c10
-rw-r--r--source/blender/python/mathutils/mathutils_Quaternion.c2
10 files changed, 39 insertions, 40 deletions
diff --git a/source/blender/bmesh/bmesh.h b/source/blender/bmesh/bmesh.h
index dab70ac35bf..6190e3215c6 100644
--- a/source/blender/bmesh/bmesh.h
+++ b/source/blender/bmesh/bmesh.h
@@ -298,7 +298,7 @@ void BM_face_center_mean_calc(BMesh *bm, BMFace *f, float center[3]);
void BM_mesh_select_mode_flush(BMesh *bm);
-/* mode independant flushing up/down */
+/* mode independent flushing up/down */
void BM_mesh_deselect_flush(BMesh *bm);
void BM_mesh_select_flush(BMesh *bm);
diff --git a/source/blender/bmesh/bmesh_queries.h b/source/blender/bmesh/bmesh_queries.h
index 39e1d9eaa7a..e1eeaf8ee17 100644
--- a/source/blender/bmesh/bmesh_queries.h
+++ b/source/blender/bmesh/bmesh_queries.h
@@ -81,7 +81,7 @@ int BM_vert_is_manifold(struct BMesh *bm, struct BMVert *v);
int BM_edge_is_manifold(struct BMesh *bm, struct BMEdge *e);
/* returns true if e is a boundary edge, e.g. has only 1 face bordering it. */
-int BM_edge_is_boundry(struct BMEdge *e);
+int BM_edge_is_boundary(struct BMEdge *e);
/* returns the face corner angle */
float BM_loop_face_angle(struct BMesh *bm, struct BMLoop *l);
diff --git a/source/blender/bmesh/intern/bmesh_newcore.c b/source/blender/bmesh/intern/bmesh_newcore.c
index 0546dbf0512..2bace65056d 100644
--- a/source/blender/bmesh/intern/bmesh_newcore.c
+++ b/source/blender/bmesh/intern/bmesh_newcore.c
@@ -172,7 +172,7 @@ static BMLoop *bmesh_create_loop(BMesh *bm, BMVert *v, BMEdge *e, BMFace *f, con
return l;
}
-static BMLoop *bm_face_boundry_add(BMesh *bm, BMFace *f, BMVert *startv, BMEdge *starte)
+static BMLoop *bm_face_boundary_add(BMesh *bm, BMFace *f, BMVert *startv, BMEdge *starte)
{
#ifdef USE_BMESH_HOLES
BMLoopList *lst = BLI_mempool_calloc(bm->looplistpool);
@@ -292,7 +292,7 @@ BMFace *BM_face_create(BMesh *bm, BMVert **verts, BMEdge **edges, const int len,
f->head.htype = BM_FACE;
- startl = lastl = bm_face_boundry_add(bm, (BMFace *)f, verts[0], edges[0]);
+ startl = lastl = bm_face_boundary_add(bm, (BMFace *)f, verts[0], edges[0]);
startl->v = (BMVert *)verts[0];
startl->e = (BMEdge *)edges[0];
diff --git a/source/blender/bmesh/intern/bmesh_queries.c b/source/blender/bmesh/intern/bmesh_queries.c
index 0fb5d87c85a..06f90d04bd3 100644
--- a/source/blender/bmesh/intern/bmesh_queries.c
+++ b/source/blender/bmesh/intern/bmesh_queries.c
@@ -408,7 +408,7 @@ int BM_edge_is_manifold(BMesh *UNUSED(bm), BMEdge *e)
* 1 for true, 0 for false.
*/
-int BM_edge_is_boundry(BMEdge *e)
+int BM_edge_is_boundary(BMEdge *e)
{
int count = BM_edge_face_count(e);
if (count == 1) {
diff --git a/source/blender/bmesh/intern/bmesh_structure.c b/source/blender/bmesh/intern/bmesh_structure.c
index 94f57bc3a58..dcb7ce6c06a 100644
--- a/source/blender/bmesh/intern/bmesh_structure.c
+++ b/source/blender/bmesh/intern/bmesh_structure.c
@@ -103,7 +103,7 @@ int bmesh_edge_swapverts(BMEdge *e, BMVert *orig, BMVert *newv)
* some nice utilities for navigating disk cycles in a way that hides this detail from the
* tool writer.
*
- * Note that the disk cycle is completley independant from face data. One advantage of this
+ * Note that the disk cycle is completley independent from face data. One advantage of this
* is that wire edges are fully integrated into the topology database. Another is that the
* the disk cycle has no problems dealing with non-manifold conditions involving faces.
*
diff --git a/source/blender/python/bmesh/bmesh_py_types.c b/source/blender/python/bmesh/bmesh_py_types.c
index 22eded1d11b..750b6002fa6 100644
--- a/source/blender/python/bmesh/bmesh_py_types.c
+++ b/source/blender/python/bmesh/bmesh_py_types.c
@@ -179,13 +179,13 @@ static int bpy_bm_elem_index_set(BPy_BMElem *self, PyObject *value, void *UNUSED
/* doc-strings for all uses of this funcion */
PyDoc_STRVAR(bpy_bmesh_verts_doc,
-"This meshes vert sequence (readonly).\n\n:type: :class:`BMElemSeq`"
+"This meshes vert sequence (read-only).\n\n:type: :class:`BMElemSeq`"
);
PyDoc_STRVAR(bpy_bmesh_edges_doc,
-"This meshes edge sequence (readonly).\n\n:type: :class:`BMElemSeq`"
+"This meshes edge sequence (read-only).\n\n:type: :class:`BMElemSeq`"
);
PyDoc_STRVAR(bpy_bmesh_faces_doc,
-"This meshes face sequence (readonly).\n\n:type: :class:`BMElemSeq`"
+"This meshes face sequence (read-only).\n\n:type: :class:`BMElemSeq`"
);
static PyObject *bpy_bmelemseq_get(BPy_BMesh *self, void *itype)
@@ -196,37 +196,37 @@ static PyObject *bpy_bmelemseq_get(BPy_BMesh *self, void *itype)
/* vert */
PyDoc_STRVAR(bpy_bmvert_link_edges_doc,
-"Edges connected to this vertex (readonly).\n\n:type: :class:`BMElemSeq` of :class:`BMVert`"
+"Edges connected to this vertex (read-only).\n\n:type: :class:`BMElemSeq` of :class:`BMVert`"
);
PyDoc_STRVAR(bpy_bmvert_link_faces_doc,
-"Faces connected to this vertex (readonly).\n\n:type: :class:`BMElemSeq` of :class:`BMFace`"
+"Faces connected to this vertex (read-only).\n\n:type: :class:`BMElemSeq` of :class:`BMFace`"
);
PyDoc_STRVAR(bpy_bmvert_link_loops_doc,
-"Loops that use this vertex (readonly).\n\n:type: :class:`BMElemSeq` of :class:`BMLoop`"
+"Loops that use this vertex (read-only).\n\n:type: :class:`BMElemSeq` of :class:`BMLoop`"
);
/* edge */
PyDoc_STRVAR(bpy_bmedge_verts_doc,
-"Verts this edge uses (always 2), (readonly).\n\n:type: :class:`BMElemSeq` of :class:`BMVert`"
+"Verts this edge uses (always 2), (read-only).\n\n:type: :class:`BMElemSeq` of :class:`BMVert`"
);
PyDoc_STRVAR(bpy_bmedge_link_faces_doc,
-"Faces connected to this edge, (readonly).\n\n:type: :class:`BMElemSeq` of :class:`BMFace`"
+"Faces connected to this edge, (read-only).\n\n:type: :class:`BMElemSeq` of :class:`BMFace`"
);
PyDoc_STRVAR(bpy_bmedge_link_loops_doc,
-"Loops connected to this edge, (readonly).\n\n:type: :class:`BMElemSeq` of :class:`BMLoop`"
+"Loops connected to this edge, (read-only).\n\n:type: :class:`BMElemSeq` of :class:`BMLoop`"
);
/* face */
PyDoc_STRVAR(bpy_bmface_verts_doc,
-"Verts of this face, (readonly).\n\n:type: :class:`BMElemSeq` of :class:`BMVert`"
+"Verts of this face, (read-only).\n\n:type: :class:`BMElemSeq` of :class:`BMVert`"
);
PyDoc_STRVAR(bpy_bmface_edges_doc,
-"Edges of this face, (readonly).\n\n:type: :class:`BMElemSeq` of :class:`BMEdge`"
+"Edges of this face, (read-only).\n\n:type: :class:`BMElemSeq` of :class:`BMEdge`"
);
PyDoc_STRVAR(bpy_bmface_loops_doc,
-"Loops of this face, (readonly).\n\n:type: :class:`BMElemSeq` of :class:`BMLoop`"
+"Loops of this face, (read-only).\n\n:type: :class:`BMElemSeq` of :class:`BMLoop`"
);
/* loop */
PyDoc_STRVAR(bpy_bmloops_link_loops_doc,
-"Loops connected to this loop, (readonly).\n\n:type: :class:`BMElemSeq` of :class:`BMLoop`"
+"Loops connected to this loop, (read-only).\n\n:type: :class:`BMElemSeq` of :class:`BMLoop`"
);
static PyObject *bpy_bmelemseq_elem_get(BPy_BMElem *self, void *itype)
@@ -319,7 +319,7 @@ static int bpy_bmvert_normal_set(BPy_BMVert *self, PyObject *value)
}
PyDoc_STRVAR(bpy_bmvert_is_manifold_doc,
-"True when this vertex is manifold (readonly).\n\n:type: boolean"
+"True when this vertex is manifold (read-only).\n\n:type: boolean"
);
static PyObject *bpy_bmvert_is_manifold_get(BPy_BMVert *self)
{
@@ -328,7 +328,7 @@ static PyObject *bpy_bmvert_is_manifold_get(BPy_BMVert *self)
}
PyDoc_STRVAR(bpy_bmvert_is_wire_doc,
-"True when this vertex is not connected to any faces (readonly).\n\n:type: boolean"
+"True when this vertex is not connected to any faces (read-only).\n\n:type: boolean"
);
static PyObject *bpy_bmvert_is_wire_get(BPy_BMVert *self)
{
@@ -340,7 +340,7 @@ static PyObject *bpy_bmvert_is_wire_get(BPy_BMVert *self)
* ^^^^ */
PyDoc_STRVAR(bpy_bmedge_is_manifold_doc,
-"True when this edge is manifold (readonly).\n\n:type: boolean"
+"True when this edge is manifold (read-only).\n\n:type: boolean"
);
static PyObject *bpy_bmedge_is_manifold_get(BPy_BMEdge *self)
{
@@ -349,7 +349,7 @@ static PyObject *bpy_bmedge_is_manifold_get(BPy_BMEdge *self)
}
PyDoc_STRVAR(bpy_bmedge_is_wire_doc,
-"True when this edge is not connected to any faces (readonly).\n\n:type: boolean"
+"True when this edge is not connected to any faces (read-only).\n\n:type: boolean"
);
static PyObject *bpy_bmedge_is_wire_get(BPy_BMEdge *self)
{
@@ -357,13 +357,13 @@ static PyObject *bpy_bmedge_is_wire_get(BPy_BMEdge *self)
return PyBool_FromLong(BM_edge_is_wire(self->bm, self->e));
}
-PyDoc_STRVAR(bpy_bmedge_is_boundry_doc,
-"True when this edge is at the boundry of a face (readonly).\n\n:type: boolean"
+PyDoc_STRVAR(bpy_bmedge_is_boundary_doc,
+"True when this edge is at the boundary of a face (read-only).\n\n:type: boolean"
);
-static PyObject *bpy_bmedge_is_boundry_get(BPy_BMEdge *self)
+static PyObject *bpy_bmedge_is_boundary_get(BPy_BMEdge *self)
{
BPY_BM_CHECK_OBJ(self);
- return PyBool_FromLong(BM_edge_is_boundry(self->e));
+ return PyBool_FromLong(BM_edge_is_boundary(self->e));
}
/* Face
@@ -444,7 +444,7 @@ static PyGetSetDef bpy_bmedge_getseters[] = {
/* readonly checks */
{(char *)"is_manifold", (getter)bpy_bmedge_is_manifold_get, (setter)NULL, (char *)bpy_bmedge_is_manifold_doc, NULL},
{(char *)"is_wire", (getter)bpy_bmedge_is_wire_get, (setter)NULL, (char *)bpy_bmedge_is_wire_doc, NULL},
- {(char *)"is_boundry", (getter)bpy_bmedge_is_boundry_get, (setter)NULL, (char *)bpy_bmedge_is_boundry_doc, NULL},
+ {(char *)"is_boundary", (getter)bpy_bmedge_is_boundary_get, (setter)NULL, (char *)bpy_bmedge_is_boundary_doc, NULL},
{(char *)"is_valid", (getter)bpy_bm_is_valid_get, (setter)NULL, (char *)bpy_bm_is_valid_doc, NULL},
{NULL, NULL, NULL, NULL, NULL} /* Sentinel */
@@ -513,7 +513,7 @@ static PyObject *bpy_bmesh_select_flush_mode(BPy_BMesh *self)
PyDoc_STRVAR(bpy_bmesh_select_flush_doc,
".. method:: select_flush(select)\n"
"\n"
-" Flush selection, independant of the current selection mode.\n"
+" Flush selection, independent of the current selection mode.\n"
"\n"
" :arg select: flush selection or de-selected elements.\n"
" :type select: boolean\n"
@@ -543,7 +543,6 @@ PyDoc_STRVAR(bpy_bmesh_normal_update_doc,
"\n"
" :arg skip_hidden: When True hidden elements are ignored.\n"
" :type skip_hidden: boolean\n"
-
);
static PyObject *bpy_bmesh_normal_update(BPy_BMElem *self, PyObject *args)
{
@@ -636,7 +635,7 @@ PyDoc_STRVAR(bpy_bm_elem_select_set_doc,
".. method:: select_set(select)\n"
"\n"
" Set the selection.\n"
-" This is different from the *select* attribute because it updates the selection state of assosiated geometry..\n"
+" This is different from the *select* attribute because it updates the selection state of assosiated geometry.\n"
"\n"
" :arg select: Select or de-select.\n"
" :type select: boolean\n"
diff --git a/source/blender/python/bmesh/bmesh_py_utils.c b/source/blender/python/bmesh/bmesh_py_utils.c
index 7be29ca6ea7..fdb5b1a3c9f 100644
--- a/source/blender/python/bmesh/bmesh_py_utils.c
+++ b/source/blender/python/bmesh/bmesh_py_utils.c
@@ -385,7 +385,7 @@ PyDoc_STRVAR(bpy_bm_utils_face_join_doc,
"\n"
" :arg faces: Sequence of faces .\n"
" :type faces: :class:`bmesh.types.BMFace`\n"
-" :return: The newly created face or None on failier.\n"
+" :return: The newly created face or None on failure.\n"
" :rtype: :class:`bmesh.types.BMFace`\n"
);
static PyObject *bpy_bm_utils_face_join(PyObject *UNUSED(self), PyObject *value)
diff --git a/source/blender/python/mathutils/mathutils.c b/source/blender/python/mathutils/mathutils.c
index c9afb7edf4b..a9a9ba8643c 100644
--- a/source/blender/python/mathutils/mathutils.c
+++ b/source/blender/python/mathutils/mathutils.c
@@ -358,7 +358,7 @@ int _BaseMathObject_WriteIndexCallback(BaseMathObject *self, int index)
}
/* BaseMathObject generic functions for all mathutils types */
-char BaseMathObject_owner_doc[] = "The item this is wrapping or None (readonly).";
+char BaseMathObject_owner_doc[] = "The item this is wrapping or None (read-only).";
PyObject *BaseMathObject_owner_get(BaseMathObject *self, void *UNUSED(closure))
{
PyObject *ret = self->cb_user ? self->cb_user : Py_None;
@@ -366,7 +366,7 @@ PyObject *BaseMathObject_owner_get(BaseMathObject *self, void *UNUSED(closure))
return ret;
}
-char BaseMathObject_is_wrapped_doc[] = "True when this object wraps external data (readonly).\n\n:type: boolean";
+char BaseMathObject_is_wrapped_doc[] = "True when this object wraps external data (read-only).\n\n:type: boolean";
PyObject *BaseMathObject_is_wrapped_get(BaseMathObject *self, void *UNUSED(closure))
{
return PyBool_FromLong((self->wrapped == Py_WRAP) ? 1:0);
diff --git a/source/blender/python/mathutils/mathutils_Matrix.c b/source/blender/python/mathutils/mathutils_Matrix.c
index cbe5b6d2ce5..d4f07def6d1 100644
--- a/source/blender/python/mathutils/mathutils_Matrix.c
+++ b/source/blender/python/mathutils/mathutils_Matrix.c
@@ -2146,7 +2146,7 @@ static int Matrix_translation_set(MatrixObject *self, PyObject *value, void *UNU
}
PyDoc_STRVAR(Matrix_row_doc,
-"Access the matix by rows (default), (readonly).\n\n:type: Matrix Access"
+"Access the matix by rows (default), (read-only).\n\n:type: Matrix Access"
);
static PyObject *Matrix_row_get(MatrixObject *self, void *UNUSED(closure))
{
@@ -2154,7 +2154,7 @@ static PyObject *Matrix_row_get(MatrixObject *self, void *UNUSED(closure))
}
PyDoc_STRVAR(Matrix_col_doc,
-"Access the matix by colums, 3x3 and 4x4 only, (readonly).\n\n:type: Matrix Access"
+"Access the matix by colums, 3x3 and 4x4 only, (read-only).\n\n:type: Matrix Access"
);
static PyObject *Matrix_col_get(MatrixObject *self, void *UNUSED(closure))
{
@@ -2162,7 +2162,7 @@ static PyObject *Matrix_col_get(MatrixObject *self, void *UNUSED(closure))
}
PyDoc_STRVAR(Matrix_median_scale_doc,
-"The average scale applied to each axis (readonly).\n\n:type: float"
+"The average scale applied to each axis (read-only).\n\n:type: float"
);
static PyObject *Matrix_median_scale_get(MatrixObject *self, void *UNUSED(closure))
{
@@ -2185,7 +2185,7 @@ static PyObject *Matrix_median_scale_get(MatrixObject *self, void *UNUSED(closur
}
PyDoc_STRVAR(Matrix_is_negative_doc,
-"True if this matrix results in a negative scale, 3x3 and 4x4 only, (readonly).\n\n:type: bool"
+"True if this matrix results in a negative scale, 3x3 and 4x4 only, (read-only).\n\n:type: bool"
);
static PyObject *Matrix_is_negative_get(MatrixObject *self, void *UNUSED(closure))
{
@@ -2206,7 +2206,7 @@ static PyObject *Matrix_is_negative_get(MatrixObject *self, void *UNUSED(closure
}
PyDoc_STRVAR(Matrix_is_orthogonal_doc,
-"True if this matrix is orthogonal, 3x3 and 4x4 only, (readonly).\n\n:type: bool"
+"True if this matrix is orthogonal, 3x3 and 4x4 only, (read-only).\n\n:type: bool"
);
static PyObject *Matrix_is_orthogonal_get(MatrixObject *self, void *UNUSED(closure))
{
diff --git a/source/blender/python/mathutils/mathutils_Quaternion.c b/source/blender/python/mathutils/mathutils_Quaternion.c
index 20e951800c2..c5159ce0fa2 100644
--- a/source/blender/python/mathutils/mathutils_Quaternion.c
+++ b/source/blender/python/mathutils/mathutils_Quaternion.c
@@ -938,7 +938,7 @@ static int Quaternion_axis_set(QuaternionObject *self, PyObject *value, void *ty
}
PyDoc_STRVAR(Quaternion_magnitude_doc,
-"Size of the quaternion (readonly).\n\n:type: float"
+"Size of the quaternion (read-only).\n\n:type: float"
);
static PyObject *Quaternion_magnitude_get(QuaternionObject *self, void *UNUSED(closure))
{