Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWillian Padovani Germano <wpgermano@gmail.com>2003-05-20 07:56:41 +0400
committerWillian Padovani Germano <wpgermano@gmail.com>2003-05-20 07:56:41 +0400
commit4ca6f542a216260314eaca71d8f4af109a9c1cdf (patch)
treea9253668408fc9c4440611be0310f417ddba6ade /source/blender/python/api2_2x/Camera.h
parent1a87f3a4aa7045d2f7e4c85ed2e5d0ae117c71b0 (diff)
* Implemented the 3 functions needed by the Object module:
For Camera and Lamp * Minor updates, NMesh is not finished yet.
Diffstat (limited to 'source/blender/python/api2_2x/Camera.h')
-rw-r--r--source/blender/python/api2_2x/Camera.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/Camera.h b/source/blender/python/api2_2x/Camera.h
index 876ccf0d704..94a70313b89 100644
--- a/source/blender/python/api2_2x/Camera.h
+++ b/source/blender/python/api2_2x/Camera.h
@@ -43,7 +43,6 @@
#include "constant.h"
#include "gen_utils.h"
-#include "modules.h"
/*****************************************************************************/
/* Python C_Camera defaults: */
@@ -196,6 +195,15 @@ static PyObject *CameraGetAttr (C_Camera *self, char *name);
static PyObject *CameraRepr (C_Camera *self);
/*****************************************************************************/
+/* Python Camera_Type helper functions needed by Blender (the Init function) */
+/* and Object modules. */
+/*****************************************************************************/
+PyObject *M_Camera_Init (void);
+PyObject *CameraCreatePyObject (Camera *cam);
+Camera *CameraFromPyObject (PyObject *pyobj);
+int CameraCheckPyObject (PyObject *pyobj);
+
+/*****************************************************************************/
/* Python Camera_Type structure definition: */
/*****************************************************************************/
static PyTypeObject Camera_Type =