Blender Git Commit Log

Git Commits -> Revision 330dc8b

Revision 330dc8b by Alexander Gavrilov
October 6, 2021, 09:48 (GMT)
Python API: implement `PoseBone.children` via `Bone.children`.

Currently `PoseBone.children` is implemented by a linear scan of
the list of armature bones. This is doubly inefficient, since
not only is it scanning all bones, the `obj.data.bones` list
is actually synthetic and generated from Bone children lists.

Instead, use the `Bone.children` native RNA property.

Differential Revision: https://developer.blender.org/D12727

Commit Details:

Full Hash: 330dc8b29f06d800206badf2a3a2b66aaaeb12fd
Parent Commit: b5ea3d2
Lines Changed: +2, -3

1 Modified Path:

/release/scripts/modules/bpy_types.py (+2, -3) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021