* 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

@@ -283,14 +283,14 @@ static int Buffer_ass_slice(PyObject *self, int begin, int end, PyObject *seq)
static void Buffer_dealloc(PyObject *self)
{
Buffer *buf= (Buffer *) self;
Buffer *buf = (Buffer *)self;
if (buf->parent) Py_DECREF(buf->parent);
else MEM_freeN(buf->buf.asvoid);
if (buf->parent) Py_DECREF (buf->parent);
else MEM_freeN (buf->buf.asvoid);
MEM_freeN(buf->dimensions);
MEM_freeN (buf->dimensions);
PyMem_DEL(self);
PyObject_DEL (self);
}
static PyObject *Buffer_tolist(PyObject *self)