Added Mesh.New() method; can now create new meshes within the module

Changed Object.link() to allow link objects with both BPython-type meshes
Changed Object.getData() to allow retrieving both types of BPython-type meshes

Added new mesh types to Types module
This commit is contained in:
Ken Hughes
2005-10-04 15:17:27 +00:00
parent 772459f15c
commit ac668ea561
10 changed files with 130 additions and 22 deletions

View File

@@ -3374,7 +3374,7 @@ int NMesh_CheckPyObject( PyObject * pyobj )
return ( pyobj->ob_type == &NMesh_Type );
}
Mesh *Mesh_FromPyObject( PyObject * pyobj, Object * ob )
Mesh *NMesh_FromPyObject( PyObject * pyobj, Object * ob )
{
if( pyobj->ob_type == &NMesh_Type ) {
Mesh *mesh;