diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-11-29 02:47:11 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-11-29 02:48:42 +0400 |
commit | 3e49787b01160b21a3b349c77c279eae5dccffb3 (patch) | |
tree | 2833f38ec615083c44fcfb4e98e9260353b80704 /source/blender/python/mathutils/mathutils_Matrix.c | |
parent | 19a41e5a1095504a524333879593b8945fe8ea06 (diff) |
Python API: give a better error message when creating a Matrix fails
Diffstat (limited to 'source/blender/python/mathutils/mathutils_Matrix.c')
-rw-r--r-- | source/blender/python/mathutils/mathutils_Matrix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/mathutils/mathutils_Matrix.c b/source/blender/python/mathutils/mathutils_Matrix.c index 3e5dcc28903..ccff114a56d 100644 --- a/source/blender/python/mathutils/mathutils_Matrix.c +++ b/source/blender/python/mathutils/mathutils_Matrix.c @@ -378,7 +378,7 @@ static PyObject *Matrix_new(PyTypeObject *type, PyObject *args, PyObject *kwds) /* will overwrite error */ PyErr_SetString(PyExc_TypeError, "Matrix(): " - "expects no args or 2-4 numeric sequences"); + "expects no args or a single arg containing 2-4 numeric sequences"); return NULL; } |