Lots of BPy Mesh additions:
- added faces.uvSel attribute: can get/set selection status of UV vertices in UV Editor window - make mesh.faceUV, mesh.vertexUV and mesh.vertexColor writable: users can now enable/disable UV faces, vertex colors, "sticky" vertices - fixed bug with mesh tool methods: before it would only work if an object linked to the mesh was selected - added mesh.quadToTriangle() and mesh.triangleToQuad() methods - added selected() method to verts, edges, faces; returns list of indices of selected items - mesh.getFromObject() now gets derived mesh data - ported vertex group methods from NMesh (required change to Object.c) - ported module dictionaries from NMesh
This commit is contained in:
@@ -113,14 +113,15 @@ typedef struct {
|
||||
|
||||
typedef struct {
|
||||
PyObject_HEAD /* required python macro */
|
||||
Mesh * mesh;
|
||||
Mesh *mesh;
|
||||
Object *object;
|
||||
} BPy_Mesh;
|
||||
|
||||
/* PROTOS */
|
||||
|
||||
PyObject *Mesh_Init( void );
|
||||
PyObject *Mesh_CreatePyObject( Mesh * me );
|
||||
PyObject *Mesh_CreatePyObject( Mesh * me, Object *obj );
|
||||
int Mesh_CheckPyObject( PyObject * pyobj );
|
||||
Mesh *Mesh_FromPyObject( PyObject * pyobj );
|
||||
Mesh *Mesh_FromPyObject( PyObject * pyobj, Object *obj );
|
||||
|
||||
#endif /* EXPP_MESH_H */
|
||||
|
||||
Reference in New Issue
Block a user