diff options
author | Campbell Barton <ideasman42@gmail.com> | 2007-12-07 12:51:02 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2007-12-07 12:51:02 +0300 |
commit | 9723e3ef39d0a0c8b7a47f145c52982481109f2f (patch) | |
tree | 656060f63fc7b23ffc078591b2dc8c8f0095ab28 /source/blender/python/api2_2x/Armature.c | |
parent | ab02e9140e6c8b1d8c9169b18fa5025a1fb54377 (diff) |
miscellaneous edits from python development branch merged back into trunk
Diffstat (limited to 'source/blender/python/api2_2x/Armature.c')
-rw-r--r-- | source/blender/python/api2_2x/Armature.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/python/api2_2x/Armature.c b/source/blender/python/api2_2x/Armature.c index 6c22e831bd4..05caca1cc2f 100644 --- a/source/blender/python/api2_2x/Armature.c +++ b/source/blender/python/api2_2x/Armature.c @@ -882,9 +882,9 @@ AttributeError: static PyObject *Armature_getVertexGroups(BPy_Armature *self, void *closure) { if (self->armature->deformflag & ARM_DEF_VGROUP) - return EXPP_incr_ret(Py_True); + Py_RETURN_TRUE; else - return EXPP_incr_ret(Py_False); + Py_RETURN_FALSE; } //------------------------Armature.vertexGroups (setter) static int Armature_setVertexGroups(BPy_Armature *self, PyObject *value, void *closure) |