* 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

@@ -39,7 +39,7 @@
static void Vector_dealloc(VectorObject *self)
{
PyMem_DEL(self);
PyObject_DEL (self);
}
static PyObject *Vector_getattr(VectorObject *self, char *name)
@@ -195,7 +195,7 @@ PyTypeObject vector_Type =
{
PyObject_HEAD_INIT(NULL)
0, /*ob_size*/
"Vector", /*tp_name*/
"vector", /*tp_name*/
sizeof(VectorObject), /*tp_basicsize*/
0, /*tp_itemsize*/
/* methods */
@@ -213,7 +213,7 @@ PyObject *newVectorObject(float *vec, int size)
{
VectorObject *self;
vector_Type.ob_type = &PyType_Type;
vector_Type.ob_type = &PyType_Type;
self= PyObject_NEW(VectorObject, &vector_Type);