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>2010-12-03 00:55:55 +0300
committerCampbell Barton <ideasman42@gmail.com>2010-12-03 00:55:55 +0300
commitcbab6a742f7250bcdea40cbf2fdfe18d4119538d (patch)
tree260bed820102c9cfc7c00766a45d9b0719ee50dc /source
parent287325af35bf41890512af491b4c5f9a5f31c809 (diff)
correction to error message from Dan Eicher
Diffstat (limited to 'source')
-rw-r--r--source/blender/python/generic/mathutils_vector.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/python/generic/mathutils_vector.c b/source/blender/python/generic/mathutils_vector.c
index 60381e914f6..f44b3fb5d05 100644
--- a/source/blender/python/generic/mathutils_vector.c
+++ b/source/blender/python/generic/mathutils_vector.c
@@ -702,12 +702,12 @@ static PyObject *Vector_Rotate(VectorObject *self, PyObject *args)
float angle, vec[3];
if(!PyArg_ParseTuple(args, "O!f", &vector_Type, &axis_vec, &angle)){
- PyErr_SetString(PyExc_TypeError, "vec.rotate(angle, axis): expected angle (float) and 3D axis");
+ PyErr_SetString(PyExc_TypeError, "vec.rotate(axis, angle): expected 3D axis (Vector) and angle (float)");
return NULL;
}
if(self->size != 3 || axis_vec->size != 3) {
- PyErr_SetString(PyExc_AttributeError, "vec.rotate(angle, axis): expects both vectors to be 3D");
+ PyErr_SetString(PyExc_AttributeError, "vec.rotate(axis, angle): expects both vectors to be 3D");
return NULL;
}