mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-23 18:21:23 +08:00
Fixed flipX bug.
This commit is contained in:
parent
5e6fd92f9c
commit
044e2c2a4c
@ -40,7 +40,7 @@ public class Bone {
|
|||||||
_worldRotation = _parent._worldRotation + rotation;
|
_worldRotation = _parent._worldRotation + rotation;
|
||||||
} else {
|
} else {
|
||||||
_worldX = flipX ? -x : x;
|
_worldX = flipX ? -x : x;
|
||||||
_worldY = flipX ? -y : y;
|
_worldY = flipY ? -y : y;
|
||||||
_worldScaleX = scaleX;
|
_worldScaleX = scaleX;
|
||||||
_worldScaleY = scaleY;
|
_worldScaleY = scaleY;
|
||||||
_worldRotation = rotation;
|
_worldRotation = rotation;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user