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:
authorMichel Selten <michel@mselten.demon.nl>2004-04-03 00:26:58 +0400
committerMichel Selten <michel@mselten.demon.nl>2004-04-03 00:26:58 +0400
commitce9a3d0b467e138ef7d237e9cade9bcd2fe47469 (patch)
treecf07881f83e086ece222cc60b9cdec3cab44e7e8 /source/blender/python/api2_2x/Ipocurve.c
parent7707bceec3875f7d596e888060eed7dbe81dbdfb (diff)
Bug fix provided by Anders Nilssen.
TotIpo was never meant to be exposed in the Ipocurve object. It's a variable to store the number of IPOs.
Diffstat (limited to 'source/blender/python/api2_2x/Ipocurve.c')
-rw-r--r--source/blender/python/api2_2x/Ipocurve.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/source/blender/python/api2_2x/Ipocurve.c b/source/blender/python/api2_2x/Ipocurve.c
index 78cd12f299c..c35236dfd7b 100644
--- a/source/blender/python/api2_2x/Ipocurve.c
+++ b/source/blender/python/api2_2x/Ipocurve.c
@@ -348,7 +348,7 @@ IpoCurve_getName (C_IpoCurve * self)
"RotX","RotY","RotZ","dRotX","dRotY","dRotZ","SizeX","SizeY","SizeZ",
"dSizeX","dSizeY","dSizeZ","Layer","Time","ColR","ColG","ColB","ColA"};
- const char * ac_nametab[5] = {"QuatW", "QuatX", "QuatY", "QuatZ","TotIpo"};
+ const char * ac_nametab[5] = {"QuatW", "QuatX", "QuatY", "QuatZ"};
switch (objectType) {
case ID_OB: {
@@ -371,9 +371,6 @@ IpoCurve_getName (C_IpoCurve * self)
case 25: case 26: case 27: case 28:
return PyString_FromString(ac_nametab[trackType-25]);
break;
- case 10:
- return PyString_FromString(ac_nametab[4]);
- break;
default:
return PyString_FromString("Index out of range");
}