mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-20 09:16:01 +08:00
parent
8e21d09c79
commit
9b37c31cae
@ -1025,7 +1025,7 @@ public class SkeletonJson extends SkeletonLoader {
|
||||
int readCurve (JsonValue curve, CurveTimeline timeline, int bezier, int frame, int value, float time1, float time2,
|
||||
float value1, float value2, float scale) {
|
||||
if (curve.isString()) {
|
||||
if (value != 0) timeline.setStepped(frame);
|
||||
if (curve.asString().equals("stepped")) timeline.setStepped(frame);
|
||||
return bezier;
|
||||
}
|
||||
curve = curve.get(value << 2);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user