sortBone method
Implementation
void sortBone(Bone bone) {
if (bone.sorted) return;
final Bone? parent = bone.parent;
if (parent != null) sortBone(parent);
bone.sorted = true;
_updateCache.add(bone);
}
void sortBone(Bone bone) {
if (bone.sorted) return;
final Bone? parent = bone.parent;
if (parent != null) sortBone(parent);
bone.sorted = true;
_updateCache.add(bone);
}