diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-01-30 09:45:20 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-01-30 09:45:20 +0400 |
commit | bd697dd4d7e3b753aa18a1767e20c80d52f65aa4 (patch) | |
tree | 4dd317f0ef089bef74b2a370a2299b6a33f37a09 /source/blender/python/mathutils/mathutils_Vector.c | |
parent | 6e479b18ef088251d0124a4a95c020fb2e579afd (diff) |
Fix T38402: invalid message for bad type assignments (Quat, Vector)
Diffstat (limited to 'source/blender/python/mathutils/mathutils_Vector.c')
-rw-r--r-- | source/blender/python/mathutils/mathutils_Vector.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/mathutils/mathutils_Vector.c b/source/blender/python/mathutils/mathutils_Vector.c index 0e6864047a2..68a070ef428 100644 --- a/source/blender/python/mathutils/mathutils_Vector.c +++ b/source/blender/python/mathutils/mathutils_Vector.c @@ -1295,7 +1295,7 @@ static int vector_ass_item_internal(VectorObject *self, int i, PyObject *value, if ((scalar = PyFloat_AsDouble(value)) == -1.0f && PyErr_Occurred()) { /* parsed item not a number */ PyErr_SetString(PyExc_TypeError, "vector[index] = x: " - "index argument not a number"); + "assigned value not a number"); return -1; } |