From 4da2acae3ab1a40db8be7f7df36da29cfcbf280c Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Mon, 3 Sep 2018 16:49:08 +0200 Subject: Spelling fixes in comments and descriptions, patch by luzpaz. Differential Revision: https://developer.blender.org/D3668 --- source/blender/python/mathutils/mathutils.c | 2 +- source/blender/python/mathutils/mathutils.h | 2 +- source/blender/python/mathutils/mathutils_Euler.c | 2 +- source/blender/python/mathutils/mathutils_Matrix.c | 6 +++--- source/blender/python/mathutils/mathutils_bvhtree.c | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) (limited to 'source/blender/python/mathutils') diff --git a/source/blender/python/mathutils/mathutils.c b/source/blender/python/mathutils/mathutils.c index 0c365ad192c..a3a4e7f313b 100644 --- a/source/blender/python/mathutils/mathutils.c +++ b/source/blender/python/mathutils/mathutils.c @@ -405,7 +405,7 @@ int EXPP_VectorsAreEqual(const float *vecA, const float *vecB, int size, int flo } #ifndef MATH_STANDALONE -/* dynstr as python string utility funcions, frees 'ds'! */ +/* dynstr as python string utility functions, frees 'ds'! */ PyObject *mathutils_dynstr_to_py(struct DynStr *ds) { const int ds_len = BLI_dynstr_get_len(ds); /* space for \0 */ diff --git a/source/blender/python/mathutils/mathutils.h b/source/blender/python/mathutils/mathutils.h index b151ba7280d..286dd9f0750 100644 --- a/source/blender/python/mathutils/mathutils.h +++ b/source/blender/python/mathutils/mathutils.h @@ -170,7 +170,7 @@ Py_hash_t mathutils_array_hash(const float *float_array, size_t array_len); int column_vector_multiplication(float rvec[4], VectorObject *vec, MatrixObject *mat); #ifndef MATH_STANDALONE -/* dynstr as python string utility funcions */ +/* dynstr as python string utility functions */ PyObject *mathutils_dynstr_to_py(struct DynStr *ds); #endif diff --git a/source/blender/python/mathutils/mathutils_Euler.c b/source/blender/python/mathutils/mathutils_Euler.c index 8be3de42226..31576c32497 100644 --- a/source/blender/python/mathutils/mathutils_Euler.c +++ b/source/blender/python/mathutils/mathutils_Euler.c @@ -161,7 +161,7 @@ PyDoc_STRVAR(Euler_to_matrix_doc, "\n" " Return a matrix representation of the euler.\n" "\n" -" :return: A 3x3 roation matrix representation of the euler.\n" +" :return: A 3x3 rotation matrix representation of the euler.\n" " :rtype: :class:`Matrix`\n" ); static PyObject *Euler_to_matrix(EulerObject *self) diff --git a/source/blender/python/mathutils/mathutils_Matrix.c b/source/blender/python/mathutils/mathutils_Matrix.c index 70c400f99b8..951c094ec40 100644 --- a/source/blender/python/mathutils/mathutils_Matrix.c +++ b/source/blender/python/mathutils/mathutils_Matrix.c @@ -2592,7 +2592,7 @@ static int Matrix_translation_set(MatrixObject *self, PyObject *value, void *UNU } PyDoc_STRVAR(Matrix_row_doc, -"Access the matix by rows (default), (read-only).\n\n:type: Matrix Access" +"Access the matrix by rows (default), (read-only).\n\n:type: Matrix Access" ); static PyObject *Matrix_row_get(MatrixObject *self, void *UNUSED(closure)) { @@ -2600,7 +2600,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, (read-only).\n\n:type: Matrix Access" +"Access the matrix by columns, 3x3 and 4x4 only, (read-only).\n\n:type: Matrix Access" ); static PyObject *Matrix_col_get(MatrixObject *self, void *UNUSED(closure)) { @@ -2770,7 +2770,7 @@ PyDoc_STRVAR(matrix_doc, " matrices from 2x2 up to 4x4.\n" "\n" " :param rows: Sequence of rows.\n" -" When ommitted, a 4x4 identity matrix is constructed.\n" +" When omitted, a 4x4 identity matrix is constructed.\n" " :type rows: 2d number sequence\n" ); PyTypeObject matrix_Type = { diff --git a/source/blender/python/mathutils/mathutils_bvhtree.c b/source/blender/python/mathutils/mathutils_bvhtree.c index c044cc54965..36727fb91ae 100644 --- a/source/blender/python/mathutils/mathutils_bvhtree.c +++ b/source/blender/python/mathutils/mathutils_bvhtree.c @@ -579,7 +579,7 @@ PyDoc_STRVAR(py_bvhtree_overlap_doc, "\n" " Find overlapping indices between 2 trees.\n" "\n" -" :arg other_tree: Other tree to preform overlap test on.\n" +" :arg other_tree: Other tree to perform overlap test on.\n" " :type other_tree: :class:`BVHTree`\n" " :return: Returns a list of unique index pairs," " the first index referencing this tree, the second referencing the **other_tree**.\n" -- cgit v1.2.3