mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
[c] fix wrong TwoColorAnimation parsing in Json (#2797)
This commit is contained in:
parent
0275f280a3
commit
f93466522b
@ -391,7 +391,7 @@ static spAnimation *_spSkeletonJson_readAnimation(spSkeletonJson *self, Json *ro
|
|||||||
|
|
||||||
for (frame = 0, bezier = 0;; ++frame) {
|
for (frame = 0, bezier = 0;; ++frame) {
|
||||||
float time2;
|
float time2;
|
||||||
spRGBA2Timeline_setFrame(timeline, frame, time, color.r, color.g, color.b, color.a, color2.g,
|
spRGBA2Timeline_setFrame(timeline, frame, time, color.r, color.g, color.b, color.a, color2.r,
|
||||||
color2.g, color2.b);
|
color2.g, color2.b);
|
||||||
nextMap = keyMap->next;
|
nextMap = keyMap->next;
|
||||||
if (!nextMap) {
|
if (!nextMap) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user