mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +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;
|
_worldRotation = _data.inheritRotation ? _parent._worldRotation + rotation : rotation;
|
||||||
} else {
|
} else {
|
||||||
_worldX = flipX ? -x : x;
|
_worldX = flipX ? -x : x;
|
||||||
_worldY = (flipY != yDown) ? -y : y;
|
_worldY = (flipY && spine.Bone.yDown != flipY) ? -y : y;
|
||||||
_worldScaleX = scaleX;
|
_worldScaleX = scaleX;
|
||||||
_worldScaleY = scaleY;
|
_worldScaleY = scaleY;
|
||||||
_worldRotation = rotation;
|
_worldRotation = rotation;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user