* 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

@@ -38,16 +38,16 @@
static void Button_dealloc(PyObject *self)
{
Button *but= (Button*) self;
Button *but = (Button*)self;
if(but->type==3) MEM_freeN(but->val.asstr);
if(but->type == 3) MEM_freeN (but->val.asstr);
PyMem_DEL(self);
PyObject_DEL (self);
}
static PyObject *Button_getattr(PyObject *self, char *name)
{
Button *but= (Button*) self;
Button *but = (Button*)self;
if(strcmp(name, "val") == 0) {
if (but->type==1)