mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 01:36:02 +08:00
Fix type for first parameter of spRGBA2Timeline_setFrame
This commit is contained in:
parent
17f265efce
commit
c18fce4000
@ -426,7 +426,7 @@ static spAnimation *_spSkeletonJson_readAnimation(spSkeletonJson *self, Json *ro
|
|||||||
spTimelineArray_add(timelines, SUPER(SUPER(timeline)));
|
spTimelineArray_add(timelines, SUPER(SUPER(timeline)));
|
||||||
} else if (strcmp(timelineMap->name, "rgb2") == 0) {
|
} else if (strcmp(timelineMap->name, "rgb2") == 0) {
|
||||||
float time;
|
float time;
|
||||||
spRGB2Timeline *timeline = spRGB2Timeline_create(frames, frames * 6, slotIndex);
|
spRGBA2Timeline *timeline = spRGBA2Timeline_create(frames, frames * 6, slotIndex);
|
||||||
keyMap = timelineMap->child;
|
keyMap = timelineMap->child;
|
||||||
time = Json_getFloat(keyMap, "time", 0);
|
time = Json_getFloat(keyMap, "time", 0);
|
||||||
toColor2(&color, Json_getString(keyMap, "light", 0), 0);
|
toColor2(&color, Json_getString(keyMap, "light", 0), 0);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user