diff options
author | Alexander Gavrilov <angavrilov@gmail.com> | 2021-10-01 15:30:12 +0300 |
---|---|---|
committer | Alexander Gavrilov <angavrilov@gmail.com> | 2021-10-14 19:44:37 +0300 |
commit | 1996efe7aa2e0edc9887ad34bc59e2ab911e2d02 (patch) | |
tree | b4a276ce1bcdd2f1ea5276a5252e8b4c8328ccc7 /source/blender/nodes | |
parent | 497d0400bdcd9fc932b7a875c5364934b1a96b07 (diff) |
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
Diffstat (limited to 'source/blender/nodes')
0 files changed, 0 insertions, 0 deletions