diff options
author | Stephen Swaney <sswaney@centurytel.net> | 2004-03-05 09:25:49 +0300 |
---|---|---|
committer | Stephen Swaney <sswaney@centurytel.net> | 2004-03-05 09:25:49 +0300 |
commit | 83804a7173c7ed0096d2b585ed1d958a665bccbb (patch) | |
tree | b0808f6becfd3996601e3a2b6658b36b03b2e60c /source/blender/python/api2_2x/Ipo.c | |
parent | db9f9215cfa1e7958b1b95713d026c91daff1214 (diff) |
Fix for Bug 1039
Changed doc to match the parameters for Ipo New() method.
Corrected error message for expected argument types in New() method.
Diffstat (limited to 'source/blender/python/api2_2x/Ipo.c')
-rw-r--r-- | source/blender/python/api2_2x/Ipo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/Ipo.c b/source/blender/python/api2_2x/Ipo.c index 7ad07561079..707e079fae2 100644 --- a/source/blender/python/api2_2x/Ipo.c +++ b/source/blender/python/api2_2x/Ipo.c @@ -46,7 +46,7 @@ static PyObject *M_Ipo_New(PyObject *self, PyObject *args) Ipo *blipo; if (!PyArg_ParseTuple(args, "ss", &code,&name)) - return (EXPP_ReturnPyObjError (PyExc_TypeError,"expected string int arguments")); + return (EXPP_ReturnPyObjError (PyExc_TypeError,"expected string string arguments")); if (!strcmp(code,"Object"))idcode = ID_OB; if (!strcmp(code,"Camera"))idcode = ID_CA; |