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:
authorCampbell Barton <ideasman42@gmail.com>2013-11-29 02:47:11 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-11-29 02:48:42 +0400
commit3e49787b01160b21a3b349c77c279eae5dccffb3 (patch)
tree2833f38ec615083c44fcfb4e98e9260353b80704 /source/blender/python/mathutils/mathutils_Matrix.c
parent19a41e5a1095504a524333879593b8945fe8ea06 (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.c2
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;
}