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:
authorJacques Guignot <guignot@wanadoo.fr>2003-12-19 00:45:15 +0300
committerJacques Guignot <guignot@wanadoo.fr>2003-12-19 00:45:15 +0300
commit0468a787d753656bf8391b0fcb63f2143aaf2e22 (patch)
treed69e3d7f0a9f0c7e40bcaf11dc150ed10bd506d4 /source/blender/python/api2_2x/Ipocurve.c
parentcb20f1cdb421ab4d5159dfb5b1549950752a7bf8 (diff)
Bug fixes (sigh...)
Diffstat (limited to 'source/blender/python/api2_2x/Ipocurve.c')
-rw-r--r--source/blender/python/api2_2x/Ipocurve.c7
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);
}