mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-06 15:24:55 +08:00
Fixed spSkeleton_setSlotsToSetupPose.
This commit is contained in:
parent
b272808a2d
commit
a9abb3155b
@ -115,7 +115,7 @@ void spSkeleton_setBonesToSetupPose (const spSkeleton* self) {
|
||||
|
||||
void spSkeleton_setSlotsToSetupPose (const spSkeleton* self) {
|
||||
int i;
|
||||
memcpy(self->drawOrder, self->slots, self->slotCount * sizeof(int));
|
||||
memcpy(self->drawOrder, self->slots, self->slotCount * sizeof(spSlot*));
|
||||
for (i = 0; i < self->slotCount; ++i)
|
||||
spSlot_setToSetupPose(self->slots[i]);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user