mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
[libgdx] Fixed path constraint in binary exports.
This commit is contained in:
parent
8943ac56e0
commit
d5535aa279
@ -371,9 +371,9 @@ public class SkeletonBinary extends SkeletonLoader {
|
||||
data.slot = slots[input.readInt(true)];
|
||||
int flags = input.read();
|
||||
data.skinRequired = (flags & 1) != 0;
|
||||
data.positionMode = PositionMode.values[(flags >> 1) & 2];
|
||||
data.spacingMode = SpacingMode.values[(flags >> 2) & 3];
|
||||
data.rotateMode = RotateMode.values[(flags >> 4) & 3];
|
||||
data.positionMode = PositionMode.values[(flags >> 1) & 0b1];
|
||||
data.spacingMode = SpacingMode.values[(flags >> 2) & 0b11];
|
||||
data.rotateMode = RotateMode.values[(flags >> 4) & 0b11];
|
||||
if ((flags & 128) != 0) data.offsetRotation = input.readFloat();
|
||||
PathConstraintPose setup = data.setup;
|
||||
setup.position = input.readFloat();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user