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:
authorThomas Dinges <blender@dingto.org>2013-04-07 19:09:06 +0400
committerThomas Dinges <blender@dingto.org>2013-04-07 19:09:06 +0400
commit858ff6b69626bf8385debe06436b2f2abba56f45 (patch)
treef32c8f31043e57a0f64afd80d98ba06fbd8c51cc /source/blender/python
parentc0ab8a15c344afdc513513444f0969766ea50db9 (diff)
Fix for [#34898] Typo in error message of mathutils.Vector
* Also fixed some more cases of "more then" -> "more than".
Diffstat (limited to 'source/blender/python')
-rw-r--r--source/blender/python/bmesh/bmesh_py_utils.c4
-rw-r--r--source/blender/python/intern/bpy_props.c2
-rw-r--r--source/blender/python/intern/bpy_rna.c4
-rw-r--r--source/blender/python/mathutils/mathutils_Color.c2
-rw-r--r--source/blender/python/mathutils/mathutils_Quaternion.c2
-rw-r--r--source/blender/python/mathutils/mathutils_Vector.c2
6 files changed, 8 insertions, 8 deletions
diff --git a/source/blender/python/bmesh/bmesh_py_utils.c b/source/blender/python/bmesh/bmesh_py_utils.c
index 7c0adcfc997..d66cfaedbb6 100644
--- a/source/blender/python/bmesh/bmesh_py_utils.c
+++ b/source/blender/python/bmesh/bmesh_py_utils.c
@@ -84,7 +84,7 @@ static PyObject *bpy_bm_utils_vert_collapse_edge(PyObject *UNUSED(self), PyObjec
if (BM_vert_edge_count(py_vert->v) > 2) {
PyErr_SetString(PyExc_ValueError,
- "vert_collapse_edge(vert, edge): vert has more then 2 connected edges");
+ "vert_collapse_edge(vert, edge): vert has more than 2 connected edges");
return NULL;
}
@@ -150,7 +150,7 @@ static PyObject *bpy_bm_utils_vert_collapse_faces(PyObject *UNUSED(self), PyObje
if (BM_vert_edge_count(py_vert->v) > 2) {
PyErr_SetString(PyExc_ValueError,
- "vert_collapse_faces(vert, edge): vert has more then 2 connected edges");
+ "vert_collapse_faces(vert, edge): vert has more than 2 connected edges");
return NULL;
}
diff --git a/source/blender/python/intern/bpy_props.c b/source/blender/python/intern/bpy_props.c
index eef02285f3c..7cef5e23b65 100644
--- a/source/blender/python/intern/bpy_props.c
+++ b/source/blender/python/intern/bpy_props.c
@@ -49,7 +49,7 @@
#include "../generic/py_capi_utils.h"
-/* initial definition of callback slots we'll probably have more then 1 */
+/* initial definition of callback slots we'll probably have more than 1 */
#define BPY_DATA_CB_SLOT_SIZE 3
#define BPY_DATA_CB_SLOT_UPDATE 0
diff --git a/source/blender/python/intern/bpy_rna.c b/source/blender/python/intern/bpy_rna.c
index df66ef92316..48caa40ca9c 100644
--- a/source/blender/python/intern/bpy_rna.c
+++ b/source/blender/python/intern/bpy_rna.c
@@ -6440,7 +6440,7 @@ bool pyrna_id_FromPyObject(PyObject *obj, ID **id)
void BPY_rna_init(void)
{
-#ifdef USE_MATHUTILS /* register mathutils callbacks, ok to run more then once. */
+#ifdef USE_MATHUTILS /* register mathutils callbacks, ok to run more than once. */
mathutils_rna_array_cb_index = Mathutils_RegisterCallback(&mathutils_rna_array_cb);
mathutils_rna_matrix_cb_index = Mathutils_RegisterCallback(&mathutils_rna_matrix_cb);
#endif
@@ -7723,7 +7723,7 @@ static PyObject *pyrna_unregister_class(PyObject *UNUSED(self), PyObject *py_cla
}
/* currently this is fairly limited, we would need to make some way to split up
- * pyrna_callback_classmethod_... if we want more then one callback per type */
+ * pyrna_callback_classmethod_... if we want more than one callback per type */
typedef struct BPyRNA_CallBack {
PyMethodDef py_method;
StructRNA *bpy_srna;
diff --git a/source/blender/python/mathutils/mathutils_Color.c b/source/blender/python/mathutils/mathutils_Color.c
index 4a29e72418b..ae5b381cf59 100644
--- a/source/blender/python/mathutils/mathutils_Color.c
+++ b/source/blender/python/mathutils/mathutils_Color.c
@@ -61,7 +61,7 @@ static PyObject *Color_new(PyTypeObject *type, PyObject *args, PyObject *kwds)
default:
PyErr_SetString(PyExc_TypeError,
"mathutils.Color(): "
- "more then a single arg given");
+ "more than a single arg given");
return NULL;
}
return Color_CreatePyObject(col, Py_NEW, type);
diff --git a/source/blender/python/mathutils/mathutils_Quaternion.c b/source/blender/python/mathutils/mathutils_Quaternion.c
index c28631e5045..9c14a1632cd 100644
--- a/source/blender/python/mathutils/mathutils_Quaternion.c
+++ b/source/blender/python/mathutils/mathutils_Quaternion.c
@@ -1089,7 +1089,7 @@ static PyObject *Quaternion_new(PyTypeObject *type, PyObject *args, PyObject *kw
angle = angle_wrap_rad(angle); /* clamp because of precision issues */
axis_angle_to_quat(quat, axis, angle);
break;
- /* PyArg_ParseTuple assures no more then 2 */
+ /* PyArg_ParseTuple assures no more than 2 */
}
}
return Quaternion_CreatePyObject(quat, Py_NEW, type);
diff --git a/source/blender/python/mathutils/mathutils_Vector.c b/source/blender/python/mathutils/mathutils_Vector.c
index f8159f6f187..27fb5bc66f5 100644
--- a/source/blender/python/mathutils/mathutils_Vector.c
+++ b/source/blender/python/mathutils/mathutils_Vector.c
@@ -90,7 +90,7 @@ static PyObject *Vector_new(PyTypeObject *type, PyObject *args, PyObject *kwds)
default:
PyErr_SetString(PyExc_TypeError,
"mathutils.Vector(): "
- "more then a single arg given");
+ "more than a single arg given");
return NULL;
}
return Vector_CreatePyObject_alloc(vec, size, type);