diff options
Diffstat (limited to 'source/blender/python/api2_2x/Mesh.h')
-rw-r--r-- | source/blender/python/api2_2x/Mesh.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/source/blender/python/api2_2x/Mesh.h b/source/blender/python/api2_2x/Mesh.h index 31810a57d44..ada47b0927c 100644 --- a/source/blender/python/api2_2x/Mesh.h +++ b/source/blender/python/api2_2x/Mesh.h @@ -113,14 +113,15 @@ typedef struct { typedef struct { PyObject_HEAD /* required python macro */ - Mesh * mesh; + Mesh *mesh; + Object *object; } BPy_Mesh; /* PROTOS */ PyObject *Mesh_Init( void ); -PyObject *Mesh_CreatePyObject( Mesh * me ); +PyObject *Mesh_CreatePyObject( Mesh * me, Object *obj ); int Mesh_CheckPyObject( PyObject * pyobj ); -Mesh *Mesh_FromPyObject( PyObject * pyobj ); +Mesh *Mesh_FromPyObject( PyObject * pyobj, Object *obj ); #endif /* EXPP_MESH_H */ |