mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-04 14:24:53 +08:00
Removed resetChildren.
This commit is contained in:
parent
5dcf6b3b02
commit
99c41f7581
@ -197,8 +197,9 @@ public class Skeleton {
|
||||
|
||||
updateCache.add(constraint);
|
||||
|
||||
resetChildren(constrained);
|
||||
reset(target.children);
|
||||
for (int ii = 0; ii < boneCount; ii++)
|
||||
reset(constrained.get(ii).children);
|
||||
for (int ii = 0; ii < boneCount; ii++)
|
||||
constrained.get(ii).sorted = true;
|
||||
}
|
||||
@ -219,7 +220,8 @@ public class Skeleton {
|
||||
|
||||
updateCache.add(constraint);
|
||||
|
||||
// resetChildren(constrained);
|
||||
// for (int ii = 0; ii < boneCount; ii++)
|
||||
// reset(constrained.get(ii).children);
|
||||
reset(constraint.bone.children); // BOZO - Remove.
|
||||
reset(target.children);
|
||||
// for (int ii = 0; ii < boneCount; ii++)
|
||||
@ -239,11 +241,6 @@ public class Skeleton {
|
||||
updateCache.add(bone);
|
||||
}
|
||||
|
||||
private void resetChildren (Array<Bone> bones) {
|
||||
for (int i = 0, n = bones.size; i < n; i++)
|
||||
reset(bones.get(i).children);
|
||||
}
|
||||
|
||||
private void reset (Array<Bone> bones) {
|
||||
for (int i = 0, n = bones.size; i < n; i++) {
|
||||
Bone bone = bones.get(i);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user