moved python functions that deal with blender libdata into gen_library.c from gen_utils and BPY_interface

small cleanup, removed unused functions and explicetly cast pointers..
This commit is contained in:
2007-03-11 04:05:45 +00:00
parent 36eba6eb6c
commit 1135434ed1
32 changed files with 449 additions and 382 deletions

View File

@@ -56,7 +56,7 @@
#include "mydevice.h"
#include "Ipo.h"
#include "gen_utils.h"
#include "gen_library.h"
#define IPOKEY_ZENITH 0
#define IPOKEY_HORIZON 1
@@ -406,7 +406,6 @@ static PyObject *M_World_Get( PyObject * self, PyObject * args )
char *name = NULL;
World *world_iter;
PyObject *worldlist;
BPy_World *wanted_world = NULL;
char error_msg[64];
if( !PyArg_ParseTuple( args, "|s", &name ) )