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:
authorKen Hughes <khughes@pacific.edu>2005-10-20 01:24:18 +0400
committerKen Hughes <khughes@pacific.edu>2005-10-20 01:24:18 +0400
commit7d325f1ed42dcacaa0aed85da7e311571e5bfa19 (patch)
tree94d0abeea5b9dde7a68aa2616cc6206eb11439b2 /source/blender/python/api2_2x/Mesh.h
parentb83f3183c0bd2000c871af6f45bf072c51545a64 (diff)
- New additions to Mesh module
- new methods from NMesh (transform, getFromObject, findEdges) - new methods for deleting groups of verts, edges and faces - new methods for accessing mesh editing tools: fill, flipNormals, recalcNormals, remDoubles, smooth, subdivide, toSphere - Added PVertType to Types module (not my favorite name; any suggestions?)
Diffstat (limited to 'source/blender/python/api2_2x/Mesh.h')
-rw-r--r--source/blender/python/api2_2x/Mesh.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/python/api2_2x/Mesh.h b/source/blender/python/api2_2x/Mesh.h
index 714819036dd..31810a57d44 100644
--- a/source/blender/python/api2_2x/Mesh.h
+++ b/source/blender/python/api2_2x/Mesh.h
@@ -52,19 +52,19 @@ extern PyTypeObject Mesh_Type;
extern PyTypeObject MVert_Type;
extern PyTypeObject PVert_Type;
extern PyTypeObject MVertSeq_Type;
+extern PyTypeObject MEdge_Type;
extern PyTypeObject MFace_Type;
extern PyTypeObject MCol_Type;
-extern PyTypeObject MEdge_Type;
struct BPy_Object;
/* Type checking for EXPP PyTypes */
#define BPy_Mesh_Check(v) ((v)->ob_type == &Mesh_Type)
#define BPy_MFace_Check(v) ((v)->ob_type == &MFace_Type)
+#define BPy_MEdge_Check(v) ((v)->ob_type == &MEdge_Type)
#define BPy_MVert_Check(v) ((v)->ob_type == &MVert_Type)
#define BPy_PVert_Check(v) ((v)->ob_type == &PVert_Type)
#define BPy_MCol_Check(v) ((v)->ob_type == &MCol_Type)
-#define BPy_MEdge_Check(v) ((v)->ob_type == &MEdge_Type)
/* Typedefs for the new types */
@@ -87,7 +87,7 @@ typedef struct {
typedef struct {
PyObject_VAR_HEAD /* required python macro */
- Mesh * mesh;
+ Mesh *mesh; /* points to a Mesh */
int index;
int iter;
} BPy_MEdge; /* a Mesh edge */