Python API
---------- Draw.c: Fix some gcc warnings Bone.c: Bone_getAllChildren() was calling EXPP_incr_ret() but not returning the value
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user