diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-03-03 11:01:11 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-03-03 11:01:11 +0300 |
commit | 57436f3013998ffff24625d5c8bf96e865fbe022 (patch) | |
tree | 090401b6b6220474623b6bc9af489d1b53272344 /source/blender/python/generic | |
parent | 3a2ce2be8337196436a464e4f865bb84d28485a5 (diff) |
fix for own error made r35267.
Diffstat (limited to 'source/blender/python/generic')
-rw-r--r-- | source/blender/python/generic/mathutils.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/python/generic/mathutils.c b/source/blender/python/generic/mathutils.c index 3f888cbfdeb..9d2fcf1cbe5 100644 --- a/source/blender/python/generic/mathutils.c +++ b/source/blender/python/generic/mathutils.c @@ -278,7 +278,7 @@ int _BaseMathObject_ReadCallback(BaseMathObject *self) return 0; if(!PyErr_Occurred()) - PyErr_Format(PyExc_RuntimeError, "%s user has become invalid", Py_TYPE(self)->tp_name); + PyErr_Format(PyExc_RuntimeError, "%s read, user has become invalid", Py_TYPE(self)->tp_name); return -1; } @@ -289,7 +289,7 @@ int _BaseMathObject_WriteCallback(BaseMathObject *self) return 0; if(!PyErr_Occurred()) - PyErr_Format(PyExc_RuntimeError, "%s user has become invalid", Py_TYPE(self)->tp_name); + PyErr_Format(PyExc_RuntimeError, "%s write, user has become invalid", Py_TYPE(self)->tp_name); return -1; } @@ -300,7 +300,7 @@ int _BaseMathObject_ReadIndexCallback(BaseMathObject *self, int index) return 0; if(!PyErr_Occurred()) - PyErr_Format(PyExc_RuntimeError, "%s user has become invalid", Py_TYPE(self)->tp_name); + PyErr_Format(PyExc_RuntimeError, "%s read index, user has become invalid", Py_TYPE(self)->tp_name); return -1; } @@ -311,7 +311,7 @@ int _BaseMathObject_WriteIndexCallback(BaseMathObject *self, int index) return 0; if(!PyErr_Occurred()) - PyErr_Format(PyExc_RuntimeError, "%s user has become invalid", Py_TYPE(self)->tp_name); + PyErr_Format(PyExc_RuntimeError, "%s write index, user has become invalid", Py_TYPE(self)->tp_name); return -1; } |