diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-12-03 00:55:55 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-12-03 00:55:55 +0300 |
commit | cbab6a742f7250bcdea40cbf2fdfe18d4119538d (patch) | |
tree | 260bed820102c9cfc7c00766a45d9b0719ee50dc /source/blender | |
parent | 287325af35bf41890512af491b4c5f9a5f31c809 (diff) |
correction to error message from Dan Eicher
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/python/generic/mathutils_vector.c | 4 |
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; } |