* Small changes in many files:

-  Trying to fix linking problems in OSX;
-  Making module .Get functions behave like the ones in Blender 2.25 - 2.27
   (Guignot pointed the incompatibility);
-  Included more types to Blender.Types;
-  Found by luck and corrected two bugs that were making Blender crash;
-  Added/updated some simple functions.
This commit is contained in:
2003-06-12 04:51:50 +00:00
parent ed6885d728
commit 6cc45538ef
24 changed files with 579 additions and 479 deletions

View File

@@ -46,7 +46,7 @@ void mesh_update(Mesh *mesh)
static void NMCol_dealloc(PyObject *self)
{
PyMem_DEL(self); /* XXX PyObject_Del ?*/
PyObject_DEL(self); /* XXX PyObject_Del ?*/
}
static C_NMCol *newcol (char r, char g, char b, char a)
@@ -144,7 +144,7 @@ static void NMFace_dealloc (PyObject *self)
Py_DECREF(mf->col);
Py_XDECREF(mf->image);
PyMem_DEL(self);
PyObject_DEL(self);
}
static C_NMFace *new_NMFace(PyObject *vertexlist)
@@ -393,7 +393,7 @@ static PyObject *M_NMesh_Vert(PyObject *self, PyObject *args)
static void NMVert_dealloc(PyObject *self)
{
PyMem_DEL(self);
PyObject_DEL(self);
}
static PyObject *NMVert_getattr(PyObject *self, char *name)
@@ -545,7 +545,7 @@ static void NMesh_dealloc(PyObject *self)
Py_DECREF(me->verts);
Py_DECREF(me->faces);
PyMem_DEL(self);
PyObject_DEL(self);
}
static PyObject *NMesh_getSelectedFaces(PyObject *self, PyObject *args)