mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-09 16:48:43 +08:00
Better root flipY logic.
This commit is contained in:
parent
53a5f1afe3
commit
b85d1e3b9f
@ -78,7 +78,7 @@ public class Bone {
|
||||
_worldRotation = _data.inheritRotation ? _parent._worldRotation + rotation : rotation;
|
||||
} else {
|
||||
_worldX = flipX ? -x : x;
|
||||
_worldY = (flipY != yDown) ? -y : y;
|
||||
_worldY = (flipY && spine.Bone.yDown != flipY) ? -y : y;
|
||||
_worldScaleX = scaleX;
|
||||
_worldScaleY = scaleY;
|
||||
_worldRotation = rotation;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user