diff options
author | Ken Hughes <khughes@pacific.edu> | 2005-10-20 01:24:18 +0400 |
---|---|---|
committer | Ken Hughes <khughes@pacific.edu> | 2005-10-20 01:24:18 +0400 |
commit | 7d325f1ed42dcacaa0aed85da7e311571e5bfa19 (patch) | |
tree | 94d0abeea5b9dde7a68aa2616cc6206eb11439b2 /source/blender/python/api2_2x/Types.c | |
parent | b83f3183c0bd2000c871af6f45bf072c51545a64 (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/Types.c')
-rw-r--r-- | source/blender/python/api2_2x/Types.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/python/api2_2x/Types.c b/source/blender/python/api2_2x/Types.c index 1a770844e68..d41dd9b2c44 100644 --- a/source/blender/python/api2_2x/Types.c +++ b/source/blender/python/api2_2x/Types.c @@ -71,6 +71,7 @@ void types_InitAll( void ) Mesh_Type.ob_type = &PyType_Type; MFace_Type.ob_type = &PyType_Type; MVert_Type.ob_type = &PyType_Type; + PVert_Type.ob_type = &PyType_Type; MEdge_Type.ob_type = &PyType_Type; MCol_Type.ob_type = &PyType_Type; Mesh_Type.ob_type = &PyType_Type; @@ -130,6 +131,8 @@ PyObject *Types_Init( void ) ( PyObject * ) &MEdge_Type ); PyDict_SetItemString( dict, "MVertType", ( PyObject * ) &MVert_Type ); + PyDict_SetItemString( dict, "PVertType", + ( PyObject * ) &PVert_Type ); PyDict_SetItemString( dict, "MColType", ( PyObject * ) &MCol_Type ); PyDict_SetItemString( dict, "ArmatureType", |