* Added submodule Blender.Material

* Added submodule Blender.Types:
    Blender Type definitions can't be static anymore.
* Some cleanup of now unused defines in Camera.h and Lamp.h
This commit is contained in:
2003-05-28 04:36:18 +00:00
parent a0e54446f3
commit b7bf9bf1b7
20 changed files with 1792 additions and 264 deletions

View File

@@ -115,10 +115,9 @@ static PyObject *new_const(void)
/*****************************************************************************/
/* Python C_constant methods: */
/*****************************************************************************/
void constant_insert(C_constant *self, char *key, PyObject *value)
int constant_insert (C_constant *self, char *name, PyObject *value)
{
if (self->dict)
PyDict_SetItemString(self->dict, key, value);
return PyDict_SetItemString (self->dict, name, value);
}
/*****************************************************************************/