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:
authorWillian Padovani Germano <wpgermano@gmail.com>2003-06-12 08:51:50 +0400
committerWillian Padovani Germano <wpgermano@gmail.com>2003-06-12 08:51:50 +0400
commit6cc45538efefe1062aa0bc0909903af3db5d338d (patch)
tree64cb07ec5761c70f06ac15c2d4633dd9602cbcb0 /source/blender/python/api2_2x/NMesh.c
parented6885d72891c63c39bb63a0eb936b454fef753c (diff)
* 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.
Diffstat (limited to 'source/blender/python/api2_2x/NMesh.c')
-rw-r--r--source/blender/python/api2_2x/NMesh.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/python/api2_2x/NMesh.c b/source/blender/python/api2_2x/NMesh.c
index 28ef37ded1e..2bc2b009496 100644
--- a/source/blender/python/api2_2x/NMesh.c
+++ b/source/blender/python/api2_2x/NMesh.c
@@ -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)