* Fixed bug in BPY_interface.c (exppython):

Found that syntax errors in scripts were giving SIGSEGV, my mistake.
* Added new helper type: rgbTuple.
    This is used to represent and deal with rgb color triplets in modules
    like Material and Lamp.  Updated Lamp module to use it.
This commit is contained in:
2003-05-23 04:34:55 +00:00
parent 0773536829
commit 9edf1c08a6
8 changed files with 513 additions and 33 deletions

View File

@@ -172,7 +172,7 @@ typedef struct {
short mode;
short flag;
unsigned char transp;
PyObject *image; /* Image; was DataBlock *tpage */
PyObject *image; /* Image; was DataBlock *tpage -- PyObj is wrong, change it*/
char mat_nr, smooth;
} C_NMFace; /* an NMesh face */