diff options
author | Jacques Guignot <guignot@wanadoo.fr> | 2003-07-22 17:56:41 +0400 |
---|---|---|
committer | Jacques Guignot <guignot@wanadoo.fr> | 2003-07-22 17:56:41 +0400 |
commit | 68c3a6dccdd144e2ad7320d15f498cd755ce249f (patch) | |
tree | f5325f15aca12d9d70802aac6172d8c1be22fee3 /source/blender/python/api2_2x/Object.c | |
parent | 7e5a6ec482e6ffa561a62a0dfd479ae707fdc4df (diff) |
removed the patch for ipo attr, which had side effects
Diffstat (limited to 'source/blender/python/api2_2x/Object.c')
-rw-r--r-- | source/blender/python/api2_2x/Object.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source/blender/python/api2_2x/Object.c b/source/blender/python/api2_2x/Object.c index b08d35b31a7..bcb96bb5a18 100644 --- a/source/blender/python/api2_2x/Object.c +++ b/source/blender/python/api2_2x/Object.c @@ -1350,9 +1350,7 @@ static PyObject* Object_getAttr (BPy_Object *obj, char *name) { if (obj->ipo == NULL) { - - Py_INCREF (Py_None); - return (Py_None); + obj->ipo = Ipo_CreatePyObject (object->ipo); } else { |