diff options
author | Jacques Guignot <guignot@wanadoo.fr> | 2004-01-19 13:52:07 +0300 |
---|---|---|
committer | Jacques Guignot <guignot@wanadoo.fr> | 2004-01-19 13:52:07 +0300 |
commit | e34cb90205788643619bbe3a635d7d7613f81f0b (patch) | |
tree | 2168fdae874487ba5d8de371f02af9c51f920e64 /source/blender/python/api2_2x/Ipo.c | |
parent | 969966f0e63c948243afa41e1193d94ac95330e6 (diff) |
moved a local variable declaration, which crashed MSVC... Picky compiler...
Diffstat (limited to 'source/blender/python/api2_2x/Ipo.c')
-rw-r--r-- | source/blender/python/api2_2x/Ipo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/Ipo.c b/source/blender/python/api2_2x/Ipo.c index efa6ec27ec0..63c2e81f04c 100644 --- a/source/blender/python/api2_2x/Ipo.c +++ b/source/blender/python/api2_2x/Ipo.c @@ -283,13 +283,13 @@ static PyObject *Ipo_addCurve(BPy_Ipo *self, PyObject *args) char*s = 0; IpoCurve*icu; Link * link; + struct Object * object; if (!PyArg_ParseTuple(args, "s",&s)) return (EXPP_ReturnPyObjError (PyExc_TypeError, "expected string argument")); /* insertkey demande un pointeur sur l'objet pour lequel on veut ajouter une courbe IPO*/ - struct Object * object; link = G.main->object.first; while (link) { |