* Improved error checking in BPY_interface.c:

Applied a fix suggested by Guignot
* Added part of Module Blender.Scene.
* Added doxygen comments to Camera.c .
This commit is contained in:
2003-06-07 03:49:45 +00:00
parent b499fac975
commit ad61dd37ef
7 changed files with 962 additions and 134 deletions

View File

@@ -39,6 +39,12 @@
#include "constant.h"
#include "gen_utils.h"
/* The Camera PyType Object defined in Camera.c */
PyTypeObject Camera_Type;
#define BPy_Camera_Check(v) \
((v)->ob_type == &Camera_Type) /* for type checking */
/*****************************************************************************/
/* Python BPy_Camera structure definition: */
/*****************************************************************************/
@@ -47,11 +53,6 @@ typedef struct {
Camera *camera;
} BPy_Camera;
PyTypeObject Camera_Type; /* The Camera PyType Object */
#define BPy_Camera_Check(v) \
((v)->ob_type == &Camera_Type) /* for type checking */
/*****************************************************************************/
/* Python Camera_Type helper functions needed by Blender (the Init function) */
/* and Object modules. */