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:
authorJoseph Gilbert <ascotan@gmail.com>2003-11-13 07:00:59 +0300
committerJoseph Gilbert <ascotan@gmail.com>2003-11-13 07:00:59 +0300
commita4aad039aa69784c61ff1eb8da8505c3b4e89172 (patch)
tree800a963b46d8a437cab93522d98848d96f727872 /source/blender/python/api2_2x/modules.h
parent0e9dd3060e04459d4ecb5ccbce138de7532a3425 (diff)
The new Lattice module for python
- enabled all the Lattice methods in Object.c - added Lattice types to Types.c - add Lattice initialization to Blender.c - updated makefile for new lattice file - added Lattice.c/Lattice.h
Diffstat (limited to 'source/blender/python/api2_2x/modules.h')
-rw-r--r--source/blender/python/api2_2x/modules.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/python/api2_2x/modules.h b/source/blender/python/api2_2x/modules.h
index 328a47eff52..2a5e67494d3 100644
--- a/source/blender/python/api2_2x/modules.h
+++ b/source/blender/python/api2_2x/modules.h
@@ -39,6 +39,7 @@
#include <DNA_mesh_types.h>
#include <DNA_camera_types.h>
#include <DNA_lamp_types.h>
+#include <DNA_lattice_types.h>
#include <DNA_curve_types.h>
#include <DNA_armature_types.h>
#include <DNA_ipo_types.h>
@@ -170,6 +171,12 @@ int World_CheckPyObject (PyObject *py_obj);
World * World_FromPyObject (PyObject *py_obj);
World * GetWorldByName (char * name);
+/* Lattice */
+PyObject * Lattice_Init (void);
+PyObject * Lattice_CreatePyObject (Lattice *lt);
+Lattice * Lattice_FromPyObject (PyObject *pyobj);
+int Lattice_CheckPyObject (PyObject *pyobj);
+
/* Init functions for other modules */
PyObject * Window_Init (void);
PyObject * Draw_Init (void);