* Added two modules:

Guignot contributed the Ipo and Metaball modules.  Metaball wasn't
   available in the 2.25 API, it's a new addition.
* Minor changes in other files.
This commit is contained in:
2003-06-05 18:03:46 +00:00
parent d29a8c0a3c
commit a9ced6d86a
8 changed files with 2023 additions and 21 deletions

View File

@@ -397,7 +397,7 @@ static PyObject *Object_getData (C_Object *self)
case ID_IP:
break;
case ID_LA:
data_object = Lamp_createPyObject (self->object->data);
data_object = Lamp_CreatePyObject (self->object->data);
break;
case ID_MA:
break;
@@ -592,9 +592,9 @@ static PyObject *Object_link (C_Object *self, PyObject *args)
"expected an object as argument"));
}
if (Camera_CheckPyObject (py_data))
data = (void*) Camera_FromPyObject (py_data);
if (Lamp_checkPyObject (py_data))
data = (void*) Lamp_fromPyObject (py_data);
data = (void *)Camera_FromPyObject (py_data);
if (Lamp_CheckPyObject (py_data))
data = (void *)Lamp_FromPyObject (py_data);
/* TODO: add the (N)Mesh check and from functions here when finished. */
oldid = (ID*) self->object->data;