Blender Git Commit Log
Git Commits -> Revision 1996efe
Revision 1996efe by Alexander Gavrilov (master) October 14, 2021, 16:44 (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: 1996efe7aa2e0edc9887ad34bc59e2ab911e2d02
Parent Commit: 497d040
Lines Changed: +2, -3
1 Modified Path:
/release/scripts/modules/bpy_types.py (+2, -3) (Diff)