diff options
author | Campbell Barton <ideasman42@gmail.com> | 2006-12-26 10:00:32 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2006-12-26 10:00:32 +0300 |
commit | 46924d32f4b34fedb6b1b9afe26ad5df4d73eff0 (patch) | |
tree | ef32e54f8913037beb06fe32c0d02b8438990f8b /source/blender/python/api2_2x/Group.c | |
parent | 0aebc13199f7d552e4dde880c2fc35fe06bd2f50 (diff) |
Camera.c refactor, moved to getsetattrs. deprecated get/set functions. and added access to all camera settings.
cam.type now uses 'ortho' and 'persp' rather then 0 and 1
group.c and object.c, minor cleanup
Diffstat (limited to 'source/blender/python/api2_2x/Group.c')
-rwxr-xr-x | source/blender/python/api2_2x/Group.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/python/api2_2x/Group.c b/source/blender/python/api2_2x/Group.c index c3806f32091..751567a1af2 100755 --- a/source/blender/python/api2_2x/Group.c +++ b/source/blender/python/api2_2x/Group.c @@ -217,7 +217,7 @@ static int Group_compare( BPy_Group * a, BPy_Group * b ); static int Group_setName( BPy_Group * self, PyObject * value ) { char *name = NULL; - char buf[21]; + char buf[22]; GROUP_DEL_CHECK_INT(self); @@ -234,7 +234,7 @@ static int Group_setName( BPy_Group * self, PyObject * value ) } -static PyObject *Group_getName( BPy_Group * self, PyObject * args ) +static PyObject *Group_getName( BPy_Group * self ) { PyObject *attr; GROUP_DEL_CHECK_PY(self); @@ -315,7 +315,7 @@ static PyGetSetDef BPy_Group_getseters[] = { NULL}, {"fakeUser", (getter)Group_getFakeUser, (setter)Group_setFakeUser, - "Number of group users", + "Groups fake user state", NULL}, {"layers", (getter)Group_getLayers, (setter)Group_setLayers, |