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_Color.c
parent6e479b18ef088251d0124a4a95c020fb2e579afd (diff)
Fix T38402: invalid message for bad type assignments (Quat, Vector)
Diffstat (limited to 'source/blender/python/mathutils/mathutils_Color.c')
-rw-r--r--source/blender/python/mathutils/mathutils_Color.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/python/mathutils/mathutils_Color.c b/source/blender/python/mathutils/mathutils_Color.c
index 9c3edec108a..aee2b9e9711 100644
--- a/source/blender/python/mathutils/mathutils_Color.c
+++ b/source/blender/python/mathutils/mathutils_Color.c
@@ -225,7 +225,7 @@ static int Color_ass_item(ColorObject *self, int i, PyObject *value)
if (f == -1 && PyErr_Occurred()) { /* parsed item not a number */
PyErr_SetString(PyExc_TypeError,
"color[item] = x: "
- "argument not a number");
+ "assigned value not a number");
return -1;
}
@@ -722,7 +722,7 @@ static int Color_channel_hsv_set(ColorObject *self, PyObject *value, void *type)
if (f == -1 && PyErr_Occurred()) {
PyErr_SetString(PyExc_TypeError,
"color.h/s/v = value: "
- "argument not a number");
+ "assigned value not a number");
return -1;
}