* 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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user