- fixed two warnings, unused var in Object.c and undeclared function in script.c
- updated Blender.Draw doc, it was missing info about Button object
- refactored pytype initialization to try to fix for once platform (and distro!) specific crashes on startup.  This asked for tiny updates in Effect.[ch] (removed static from declaration, moved definitions to the .c file) and modules.h
- fixed error I made trying to fix scripts w/ no [eol] char in menus.  Thanks Michael Velikanje for reporting the problem!
This commit is contained in:
2004-04-23 13:11:48 +00:00
parent da7b4711a4
commit abe8191d70
11 changed files with 150 additions and 115 deletions

View File

@@ -741,7 +741,7 @@ static PyObject *Object_getDrawMode (BPy_Object *self)
static PyObject *Object_getAction (BPy_Object *self)
{
BPy_Action *py_action = NULL;
/*BPy_Action *py_action = NULL;*/
if(!self->object->action){
Py_INCREF (Py_None);