The following updates have been contributed by Willian P. Germano:
* Implemented BPY_end_python function. * Implemented error handling. This results in rerunning a script after an error has occurred. No need to restart blender anymore. * Camera module supports dir() * variable assignment now calls the Python equivalent function - this has type checking and should be safer now. * Implemented the Lamp module. Used the Camera module as a template. * Implemented the Image module. * Added EXPP_ClampFloat and EXPP_intError functions to gen_utils.[ch] * Implemented 'constant' object.
This commit is contained in:
@@ -31,6 +31,9 @@
|
||||
#include <Python.h>
|
||||
|
||||
#include <DNA_object_types.h>
|
||||
#include <DNA_camera_types.h>
|
||||
#include <DNA_lamp_types.h>
|
||||
#include <DNA_image_types.h>
|
||||
|
||||
/*****************************************************************************/
|
||||
/* Global variables */
|
||||
@@ -40,5 +43,9 @@ PyObject *g_blenderdict;
|
||||
void initBlender (void);
|
||||
PyObject* initObject (void);
|
||||
PyObject* ObjectCreatePyObject (struct Object *obj);
|
||||
PyObject* initCamera (void);
|
||||
PyObject* M_Camera_Init (void);
|
||||
PyObject* CameraCreatePyObject (struct Camera *cam);
|
||||
PyObject* M_Lamp_Init (void);
|
||||
PyObject* LampCreatePyObject (struct Lamp *lamp);
|
||||
PyObject* M_Image_Init (void);
|
||||
PyObject* ImageCreatePyObject (struct Image *img);
|
||||
|
Reference in New Issue
Block a user