* Implemented the 3 functions needed by the Object module:
For Camera and Lamp * Minor updates, NMesh is not finished yet.
This commit is contained in:
@@ -49,7 +49,6 @@
|
||||
/*****************************************************************************/
|
||||
/* Python C_Lamp defaults: */
|
||||
/*****************************************************************************/
|
||||
#define EXPP_LAMP_MAX 256
|
||||
|
||||
/* Lamp types */
|
||||
|
||||
@@ -294,6 +293,15 @@ static int LampSetAttr (C_Lamp *lamp, char *name, PyObject *v);
|
||||
static PyObject *LampRepr (C_Lamp *lamp);
|
||||
static int LampPrint (C_Lamp *lamp, FILE *fp, int flags);
|
||||
|
||||
/*****************************************************************************/
|
||||
/* Python Lamp_Type helper functions needed by Blender (the Init function) */
|
||||
/* and Object modules. */
|
||||
/*****************************************************************************/
|
||||
PyObject *M_Lamp_Init (void);
|
||||
PyObject *LampCreatePyObject (Lamp *lamp);
|
||||
Lamp *LampFromPyObject (PyObject *pyobj);
|
||||
int LampCheckPyObject (PyObject *pyobj);
|
||||
|
||||
/*****************************************************************************/
|
||||
/* Python TypeLamp structure definition: */
|
||||
/*****************************************************************************/
|
||||
|
Reference in New Issue
Block a user