mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-02 21:59:09 +08:00
Whoops, didn't mean to make changes in spine-c
This commit is contained in:
parent
db7166590e
commit
37abe9609d
@ -262,12 +262,10 @@ static spAnimation* _spSkeletonBinary_readAnimation (spSkeletonBinary* self, con
|
|||||||
unsigned char timelineType = readByte(input);
|
unsigned char timelineType = readByte(input);
|
||||||
int frameCount = readVarint(input, 1);
|
int frameCount = readVarint(input, 1);
|
||||||
switch (timelineType) {
|
switch (timelineType) {
|
||||||
case SLOT_ATTACHMENT:
|
case SLOT_ATTACHMENT: {
|
||||||
{
|
|
||||||
spAttachmentTimeline* timeline = spAttachmentTimeline_create(frameCount);
|
spAttachmentTimeline* timeline = spAttachmentTimeline_create(frameCount);
|
||||||
timeline->slotIndex = slotIndex;
|
timeline->slotIndex = slotIndex;
|
||||||
for (frameIndex = 0; frameIndex < frameCount; ++frameIndex)
|
for (frameIndex = 0; frameIndex < frameCount; ++frameIndex) {
|
||||||
{
|
|
||||||
float time = readFloat(input);
|
float time = readFloat(input);
|
||||||
const char* attachmentName = readString(input);
|
const char* attachmentName = readString(input);
|
||||||
/* TODO Avoid copying of attachmentName inside */
|
/* TODO Avoid copying of attachmentName inside */
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user