Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2007-03-11 07:05:45 +0300
committerCampbell Barton <ideasman42@gmail.com>2007-03-11 07:05:45 +0300
commit1135434ed18b4d89505ce0ce9673bf801e4b48e7 (patch)
treee28fbb3300ca1e5013ea2719bfae0c6173d15176 /source/blender/python/api2_2x/Camera.c
parent36eba6eb6c733bae0283758e7689595af023c401 (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/Camera.c')
-rw-r--r--source/blender/python/api2_2x/Camera.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/source/blender/python/api2_2x/Camera.c b/source/blender/python/api2_2x/Camera.c
index 0bd73e11500..9f5b48000e9 100644
--- a/source/blender/python/api2_2x/Camera.c
+++ b/source/blender/python/api2_2x/Camera.c
@@ -41,6 +41,7 @@
#include "BIF_space.h"
#include "mydevice.h"
#include "gen_utils.h"
+#include "gen_library.h"
#include "Ipo.h"
@@ -369,16 +370,6 @@ Camera *Camera_FromPyObject( PyObject * pyobj )
/* Python BPy_Camera methods: */
/*****************************************************************************/
-static PyObject *Camera_oldgetIpo( BPy_Camera * self )
-{
- struct Ipo *ipo = self->camera->ipo;
-
- if( !ipo )
- Py_RETURN_NONE;
-
- return Ipo_CreatePyObject( ipo );
-}
-
static PyObject *Camera_oldgetType( BPy_Camera * self )
{
PyObject *attr = PyInt_FromLong( self->camera->type );