diff options
author | Jacques Guignot <guignot@wanadoo.fr> | 2003-12-19 00:45:15 +0300 |
---|---|---|
committer | Jacques Guignot <guignot@wanadoo.fr> | 2003-12-19 00:45:15 +0300 |
commit | 0468a787d753656bf8391b0fcb63f2143aaf2e22 (patch) | |
tree | d69e3d7f0a9f0c7e40bcaf11dc150ed10bd506d4 /source/blender/python/api2_2x/Ipocurve.c | |
parent | cb20f1cdb421ab4d5159dfb5b1549950752a7bf8 (diff) |
Bug fixes (sigh...)
Diffstat (limited to 'source/blender/python/api2_2x/Ipocurve.c')
-rw-r--r-- | source/blender/python/api2_2x/Ipocurve.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/source/blender/python/api2_2x/Ipocurve.c b/source/blender/python/api2_2x/Ipocurve.c index ab82a10ab66..9ba3b3c3e87 100644 --- a/source/blender/python/api2_2x/Ipocurve.c +++ b/source/blender/python/api2_2x/Ipocurve.c @@ -270,9 +270,10 @@ if (strcmp (name, "bezierPoints") == 0)return IpoCurve_setPoints(self,value); /*****************************************************************************/ static PyObject *IpoCurveRepr (C_IpoCurve *self) { - char*type_from_num(int,int); - char s[1024]; - sprintf(s,"IpoCurve %s \n",type_from_num(self->ipocurve->adrcode,self->ipocurve->blocktype)); + void GetIpoCurveName(IpoCurve *icu,char*s); + char s[100],s1[100]; + GetIpoCurveName(self->ipocurve,s1); + sprintf(s,"IpoCurve %s \n",s1); return PyString_FromString(s); } |