diff options
author | Michel Selten <michel@mselten.demon.nl> | 2003-04-08 23:54:14 +0400 |
---|---|---|
committer | Michel Selten <michel@mselten.demon.nl> | 2003-04-08 23:54:14 +0400 |
commit | ec669df6eec3188938d9d84dd4666eac8b5aa1d1 (patch) | |
tree | 39985e13620956eb4e9d708b2d880ed8b03d0bd6 /source/blender/python/api2_2x/gen_utils.h | |
parent | 0850182872fef788d8cf128f3a5901dca142fa8f (diff) |
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.
Diffstat (limited to 'source/blender/python/api2_2x/gen_utils.h')
-rw-r--r-- | source/blender/python/api2_2x/gen_utils.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/python/api2_2x/gen_utils.h b/source/blender/python/api2_2x/gen_utils.h index 038c7f814ad..c7ce089c07c 100644 --- a/source/blender/python/api2_2x/gen_utils.h +++ b/source/blender/python/api2_2x/gen_utils.h @@ -38,6 +38,8 @@ char * GetIdName (ID *id); PyObject * PythonReturnErrorObject (PyObject * type, char * error_msg); PyObject * PythonIncRef (PyObject *object); char * event_to_name(short event); +float EXPP_ClampFloat(float value, float min, float max); +int EXPP_intError(PyObject *type, char *error_msg); /* The following functions may need to be moved to the respective BKE or */ /* DNA modules. */ |