mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-09 08:38:43 +08:00
parent
c34db336d5
commit
7c6c6ef535
@ -224,9 +224,13 @@ namespace Spine {
|
||||
if (pathBones == null)
|
||||
SortBone(slotBone);
|
||||
else {
|
||||
var bones = this.bones;
|
||||
for (int i = 0, n = pathBones.Length; i < n; i++)
|
||||
SortBone(bones.Items[pathBones[i]]);
|
||||
var bonesItems = this.bones.Items;
|
||||
for (int i = 0, n = pathBones.Length; i < n;) {
|
||||
int nn = pathBones[i++];
|
||||
nn += i;
|
||||
while (i < nn)
|
||||
SortBone(bonesItems[pathBones[i++]]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user