From 9723e3ef39d0a0c8b7a47f145c52982481109f2f Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 7 Dec 2007 09:51:02 +0000 Subject: miscellaneous edits from python development branch merged back into trunk --- source/blender/python/api2_2x/Armature.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/python/api2_2x/Armature.c') 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) -- cgit v1.2.3