mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-05 14:54:53 +08:00
[libgdx] Transform constraint scale is 1 if omitted.
This commit is contained in:
parent
8ff8680035
commit
7bd2f2ebd6
@ -314,7 +314,7 @@ public class SkeletonJson extends SkeletonLoader {
|
||||
}
|
||||
to.offset = toEntry.getFloat("offset", 0) * toScale;
|
||||
to.max = toEntry.getFloat("max", 1) * toScale;
|
||||
to.scale = toEntry.getFloat("scale") * toScale / fromScale;
|
||||
to.scale = toEntry.getFloat("scale", 1) * toScale / fromScale;
|
||||
from.to.add(to);
|
||||
}
|
||||
if (from.to.notEmpty()) data.properties.add(from);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user