sortBone method

void sortBone(
  1. Bone bone
)

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);
}