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>2004-05-25 23:31:13 +0400
committerJacques Guignot <guignot@wanadoo.fr>2004-05-25 23:31:13 +0400
commit5e3a9c092acff0a22db26585c9ccaf77833eb60c (patch)
tree0bdb8196e3b7f4d37ec374a4cac7c9f5460a6c09 /source/blender/python/api2_2x/Ipo.c
parentf99099109fbe109b18c58ed6ae2d076a99f6ddc8 (diff)
Changed parameters names in addCurve function (suggested by Paolo)
DLoc* --> dLoc* DRot* --> dRot* DSize* --> dSize* updated doc (Ipo.py)
Diffstat (limited to 'source/blender/python/api2_2x/Ipo.c')
-rw-r--r--source/blender/python/api2_2x/Ipo.c19
1 files changed, 9 insertions, 10 deletions
diff --git a/source/blender/python/api2_2x/Ipo.c b/source/blender/python/api2_2x/Ipo.c
index 721f7f4a4c0..ee2769b4cc9 100644
--- a/source/blender/python/api2_2x/Ipo.c
+++ b/source/blender/python/api2_2x/Ipo.c
@@ -523,47 +523,47 @@ Ipo_addCurve (BPy_Ipo * self, PyObject * args)
ok = 1;
}
- if (!strcmp (s, "DLocX"))
+ if (!strcmp (s, "dLocX"))
{
param = OB_DLOC_X;
ok = 1;
}
- if (!strcmp (s, "DLocY"))
+ if (!strcmp (s, "dLocY"))
{
param = OB_DLOC_Y;
ok = 1;
}
- if (!strcmp (s, "DLocZ"))
+ if (!strcmp (s, "dLocZ"))
{
param = OB_DLOC_Z;
ok = 1;
}
- if (!strcmp (s, "DRotX"))
+ if (!strcmp (s, "dRotX"))
{
param = OB_DROT_X;
ok = 1;
}
- if (!strcmp (s, "DRotY"))
+ if (!strcmp (s, "dRotY"))
{
param = OB_DROT_Y;
ok = 1;
}
- if (!strcmp (s, "DRotZ"))
+ if (!strcmp (s, "dRotZ"))
{
param = OB_DROT_Z;
ok = 1;
}
- if (!strcmp (s, "DSizeX"))
+ if (!strcmp (s, "dSizeX"))
{
param = OB_DSIZE_X;
ok = 1;
}
- if (!strcmp (s, "DSizeY"))
+ if (!strcmp (s, "dSizeY"))
{
param = OB_DSIZE_Y;
ok = 1;
}
- if (!strcmp (s, "DSizeZ"))
+ if (!strcmp (s, "dSizeZ"))
{
param = OB_DSIZE_Z;
ok = 1;
@@ -621,7 +621,6 @@ Ipo_addCurve (BPy_Ipo * self, PyObject * args)
static PyObject *
Ipo_getCurve (BPy_Ipo * self, PyObject * args)
{
- //int num = 0 , i = 0;
char *str;
IpoCurve *icu = 0;
if (!PyArg_ParseTuple (args, "s", &str))