mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-22 02:06:03 +08:00
[libgdx] Fixed transform constraint binary reading, didn't read local/relative properties
This commit is contained in:
parent
38c3687e85
commit
9045a73696
@ -237,6 +237,8 @@ public class SkeletonBinary {
|
||||
for (int ii = 0, nn = input.readInt(true); ii < nn; ii++)
|
||||
data.bones.add(skeletonData.bones.get(input.readInt(true)));
|
||||
data.target = skeletonData.bones.get(input.readInt(true));
|
||||
data.local = input.readBoolean();
|
||||
data.relative = input.readBoolean();
|
||||
data.offsetRotation = input.readFloat();
|
||||
data.offsetX = input.readFloat() * scale;
|
||||
data.offsetY = input.readFloat() * scale;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user