diff options
author | Ken Hughes <khughes@pacific.edu> | 2005-11-17 22:19:05 +0300 |
---|---|---|
committer | Ken Hughes <khughes@pacific.edu> | 2005-11-17 22:19:05 +0300 |
commit | 43ac5834b60096cd6dae4447f366987f57b8faae (patch) | |
tree | e8a8923fac644e41c98da376a8e747c74ca477bb /source/blender/python/api2_2x/Effect.h | |
parent | 9deec11e59d335c7e2b235b50f5ead5c0e5bef4f (diff) |
-- add support for new particle effects
Diffstat (limited to 'source/blender/python/api2_2x/Effect.h')
-rw-r--r-- | source/blender/python/api2_2x/Effect.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/Effect.h b/source/blender/python/api2_2x/Effect.h index 594ebda1813..b26e77f1794 100644 --- a/source/blender/python/api2_2x/Effect.h +++ b/source/blender/python/api2_2x/Effect.h @@ -35,6 +35,7 @@ #include <Python.h> #include "DNA_effect_types.h" +#include "DNA_object_types.h" extern PyTypeObject Effect_Type; @@ -44,6 +45,7 @@ extern PyTypeObject Effect_Type; typedef struct { PyObject_HEAD /* required py macro */ PartEff * effect; + Object * object; } BPy_Effect; /*****************************************************************************/ @@ -51,6 +53,6 @@ typedef struct { /*****************************************************************************/ PyObject *Effect_Init( void ); int EffectCheckPyObject( PyObject * py_obj ); -PyObject *EffectCreatePyObject( Effect * eff ); +PyObject *EffectCreatePyObject( Effect * eff, Object * ob ); #endif /* EXPP_EFFECT_H */ |