diff options
author | Campbell Barton <ideasman42@gmail.com> | 2006-08-27 20:27:34 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2006-08-27 20:27:34 +0400 |
commit | 5dbc4c5f8fda61da055a2186a5080feec96828c0 (patch) | |
tree | 87103897bc3a8ae7562f7aca8ba95536b2630167 /source/blender/python/api2_2x/Group.h | |
parent | b39f4b788dc9c5ccc9430b02852cbc1cbe56eca1 (diff) |
Added scn.objects.new(obbdata) as a way of adding object data to a scene and createing the object data at once.
This functionality will probably be moved later on after discussion.
Diffstat (limited to 'source/blender/python/api2_2x/Group.h')
-rwxr-xr-x | source/blender/python/api2_2x/Group.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/python/api2_2x/Group.h b/source/blender/python/api2_2x/Group.h index d4cde4d8927..62f2ceb10b6 100755 --- a/source/blender/python/api2_2x/Group.h +++ b/source/blender/python/api2_2x/Group.h @@ -38,10 +38,10 @@ /* The Group PyTypeObject defined in Group.c */ extern PyTypeObject Group_Type; -extern PyTypeObject MGroupObSeq_Type; +extern PyTypeObject GroupObSeq_Type; #define BPy_Group_Check(v) ((v)->ob_type == &Group_Type) -#define BPy_MGroupObSeq_Check(v) ((v)->ob_type == &MGroupObSeq_Type) +#define BPy_GroupObSeq_Check(v) ((v)->ob_type == &GroupObSeq_Type) /*****************************************************************************/ /* Python BPy_Group structure definition. */ @@ -57,7 +57,7 @@ typedef struct { PyObject_VAR_HEAD /* required python macro */ BPy_Group *bpygroup; /* link to the python group so we can know if its been removed */ GroupObject *iter; /* so we can iterate over the objects */ -} BPy_MGroupObSeq; +} BPy_GroupObSeq; PyObject *Group_Init( void ); PyObject *Group_CreatePyObject( struct Group *group ); |