From 4ca6f542a216260314eaca71d8f4af109a9c1cdf Mon Sep 17 00:00:00 2001 From: Willian Padovani Germano Date: Tue, 20 May 2003 03:56:41 +0000 Subject: * Implemented the 3 functions needed by the Object module: For Camera and Lamp * Minor updates, NMesh is not finished yet. --- source/blender/python/api2_2x/NMesh.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'source/blender/python/api2_2x/NMesh.h') 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 */ -- cgit v1.2.3