diff options
author | Ken Hughes <khughes@pacific.edu> | 2007-03-10 00:48:47 +0300 |
---|---|---|
committer | Ken Hughes <khughes@pacific.edu> | 2007-03-10 00:48:47 +0300 |
commit | cec9f42296d189ba3acb627734089ec2d30d712d (patch) | |
tree | b67391cf1570a6558e10d3cb74fd8799e80f1df1 /source/blender/python/api2_2x/sceneSequence.c | |
parent | 739b3a045ba01cdf82bc931fb2f050b643641183 (diff) |
Python API
----------
Rearrange includes, remove dead code to fix gcc warnings.
Diffstat (limited to 'source/blender/python/api2_2x/sceneSequence.c')
-rw-r--r-- | source/blender/python/api2_2x/sceneSequence.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/source/blender/python/api2_2x/sceneSequence.c b/source/blender/python/api2_2x/sceneSequence.c index 9fbc890642e..ef01d58677b 100644 --- a/source/blender/python/api2_2x/sceneSequence.c +++ b/source/blender/python/api2_2x/sceneSequence.c @@ -28,10 +28,10 @@ * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ -#include "MEM_guardedalloc.h" - #include "sceneSequence.h" /* This must come first */ +#include "MEM_guardedalloc.h" + #include "DNA_sequence_types.h" #include "DNA_scene_types.h" /* for Base */ @@ -1059,14 +1059,6 @@ struct Sequence *Sequence_FromPyObject( PyObject * py_seq ) return ( blen_seq->seq ); } -static struct Scene *SceneSeq_FromPyObject( PyObject * py_seq ) -{ - BPy_SceneSeq *blen_sceseq; - - blen_sceseq = ( BPy_SceneSeq * ) py_seq; - return ( blen_sceseq->scene ); -} - /*****************************************************************************/ /* Function: Sequence_dealloc */ /* Description: This is a callback function for the BlenObject type. It is */ |