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-07-22 17:56:41 +0400
committerJacques Guignot <guignot@wanadoo.fr>2003-07-22 17:56:41 +0400
commit68c3a6dccdd144e2ad7320d15f498cd755ce249f (patch)
treef5325f15aca12d9d70802aac6172d8c1be22fee3 /source/blender/python/api2_2x/Object.c
parent7e5a6ec482e6ffa561a62a0dfd479ae707fdc4df (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.c4
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
{