mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 01:36:02 +08:00
[csharp] Update DrawOrderTimeline setup pose code.
This commit is contained in:
parent
37b99d6933
commit
536ccce9ea
@ -1205,9 +1205,7 @@ namespace Spine {
|
|||||||
|
|
||||||
int[] drawOrderToSetupIndex = drawOrders[frame];
|
int[] drawOrderToSetupIndex = drawOrders[frame];
|
||||||
if (drawOrderToSetupIndex == null) {
|
if (drawOrderToSetupIndex == null) {
|
||||||
drawOrder.Clear();
|
Array.Copy(slots.Items, 0, drawOrder.Items, 0, slots.Count);
|
||||||
for (int i = 0, n = slots.Count; i < n; i++)
|
|
||||||
drawOrder.Add(slots.Items[i]);
|
|
||||||
} else {
|
} else {
|
||||||
var drawOrderItems = drawOrder.Items;
|
var drawOrderItems = drawOrder.Items;
|
||||||
var slotsItems = slots.Items;
|
var slotsItems = slots.Items;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user