From 705671ebaac3648f67ebc3c12b441e0a2b09df2d Mon Sep 17 00:00:00 2001 From: Ken Hughes Date: Sat, 28 Apr 2007 05:09:09 +0000 Subject: Python API ---------- Draw.c: Fix some gcc warnings Bone.c: Bone_getAllChildren() was calling EXPP_incr_ret() but not returning the value --- source/blender/python/api2_2x/Bone.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/python/api2_2x/Bone.c') diff --git a/source/blender/python/api2_2x/Bone.c b/source/blender/python/api2_2x/Bone.c index cd2e3bea099..feb43cc7405 100644 --- a/source/blender/python/api2_2x/Bone.c +++ b/source/blender/python/api2_2x/Bone.c @@ -915,7 +915,7 @@ static PyObject *Bone_getAllChildren(BPy_Bone *self) if (self->bone->childbase.first) if (!PyBone_ChildrenAsList(list, &self->bone->childbase)) return NULL; - EXPP_incr_ret(list); + return EXPP_incr_ret(list); } //------------------ATTRIBUTE IMPLEMENTATIONS----------------------------- //------------------------Bone.name (get) -- cgit v1.2.3