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