diff options
author | Willian Padovani Germano <wpgermano@gmail.com> | 2003-05-20 07:56:41 +0400 |
---|---|---|
committer | Willian Padovani Germano <wpgermano@gmail.com> | 2003-05-20 07:56:41 +0400 |
commit | 4ca6f542a216260314eaca71d8f4af109a9c1cdf (patch) | |
tree | a9253668408fc9c4440611be0310f417ddba6ade /source/blender/python/api2_2x/NMesh.h | |
parent | 1a87f3a4aa7045d2f7e4c85ed2e5d0ae117c71b0 (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/NMesh.h')
-rw-r--r-- | source/blender/python/api2_2x/NMesh.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/NMesh.h b/source/blender/python/api2_2x/NMesh.h index 2e82908165f..e19e2c4f4bb 100644 --- a/source/blender/python/api2_2x/NMesh.h +++ b/source/blender/python/api2_2x/NMesh.h @@ -32,6 +32,9 @@ /* Most of this file comes from opy_nmesh.[ch] in the old bpython dir */ +#ifndef EXPP_NMESH_H +#define EXPP_NMESH_H + #include "Python.h" #ifdef HAVE_CONFIG_H @@ -197,8 +200,10 @@ static int convert_NMeshToMesh(Mesh *mesh, C_NMesh *nmesh); void mesh_update(Mesh *mesh); PyObject *new_NMesh(Mesh *oldmesh); Mesh *Mesh_fromNMesh(C_NMesh *nmesh); -// XXX change NMesh *ob below to Object, void to Material PyObject *NMesh_assignMaterials_toObject(C_NMesh *nmesh, Object *ob); Material **nmesh_updateMaterials(C_NMesh *nmesh); Material **newMaterialList_fromPyList (PyObject *list); void mesh_update(Mesh *mesh); + + +#endif /* EXPP_NMESH_H */ |