diff options
author | Campbell Barton <ideasman42@gmail.com> | 2007-03-11 07:05:45 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2007-03-11 07:05:45 +0300 |
commit | 1135434ed18b4d89505ce0ce9673bf801e4b48e7 (patch) | |
tree | e28fbb3300ca1e5013ea2719bfae0c6173d15176 /source/blender/python/api2_2x/World.c | |
parent | 36eba6eb6c733bae0283758e7689595af023c401 (diff) |
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..
Diffstat (limited to 'source/blender/python/api2_2x/World.c')
-rw-r--r-- | source/blender/python/api2_2x/World.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/python/api2_2x/World.c b/source/blender/python/api2_2x/World.c index 95436027f8c..32cc16c73ba 100644 --- a/source/blender/python/api2_2x/World.c +++ b/source/blender/python/api2_2x/World.c @@ -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 ) ) |