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>2014-01-30 09:45:20 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-01-30 09:45:20 +0400
commitbd697dd4d7e3b753aa18a1767e20c80d52f65aa4 (patch)
tree4dd317f0ef089bef74b2a370a2299b6a33f37a09 /source/blender/python/mathutils/mathutils_Vector.c
parent6e479b18ef088251d0124a4a95c020fb2e579afd (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.c2
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;
}