mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 09:46:02 +08:00
Merge branch '4.1' into 4.2-beta
This commit is contained in:
commit
a5fc30cbf2
@ -120,7 +120,7 @@ static int readCurve(Json *curve, spCurveTimeline *timeline, int bezier, int fra
|
|||||||
float value1, float value2, float scale) {
|
float value1, float value2, float scale) {
|
||||||
float cx1, cy1, cx2, cy2;
|
float cx1, cy1, cx2, cy2;
|
||||||
if (curve->type == Json_String && strcmp(curve->valueString, "stepped") == 0) {
|
if (curve->type == Json_String && strcmp(curve->valueString, "stepped") == 0) {
|
||||||
if (value != 0) spCurveTimeline_setStepped(timeline, frame);
|
spCurveTimeline_setStepped(timeline, frame);
|
||||||
return bezier;
|
return bezier;
|
||||||
}
|
}
|
||||||
curve = Json_getItemAtIndex(curve, value << 2);
|
curve = Json_getItemAtIndex(curve, value << 2);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user