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-10-29 02:25:25 +0300
committerJacques Guignot <guignot@wanadoo.fr>2003-10-29 02:25:25 +0300
commit976164a338f9ce80897ed1e4dbcb657d4e4c9011 (patch)
tree6ce2ceb06e6474bce838d6a12e33f4feaeb9d669
parent966ff6840ef400dd86efb69efbbcd69db1ecc21f (diff)
modified the print function
-rw-r--r--source/blender/python/api2_2x/Ipocurve.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/Ipocurve.c b/source/blender/python/api2_2x/Ipocurve.c
index dc7aefd0101..f2061ac6f85 100644
--- a/source/blender/python/api2_2x/Ipocurve.c
+++ b/source/blender/python/api2_2x/Ipocurve.c
@@ -270,8 +270,9 @@ 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 %d %d %d %d %d %d %d %d \n",self->ipocurve->blocktype,self->ipocurve->adrcode,self->ipocurve->vartype,self->ipocurve->totvert,self->ipocurve->ipo,self->ipocurve->extrap,self->ipocurve->flag,self->ipocurve->rt);
+ sprintf(s,"IpoCurve %s \n",type_from_num(self->ipocurve->adrcode,self->ipocurve->blocktype));
return PyString_FromString(s);
}