mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-06 07:14:55 +08:00
[as3] Ported fix for #1224, disable inherit scale.
This commit is contained in:
parent
dd2d63a2ee
commit
fe9f689beb
Binary file not shown.
@ -169,6 +169,8 @@ package spine {
|
||||
za *= s;
|
||||
zc *= s;
|
||||
s = Math.sqrt(za * za + zc * zc);
|
||||
if (data.transformMode == TransformMode.noScale
|
||||
&& (pa * pd - pb * pc < 0) != (sx < 0 != sy < 0)) s = -s;
|
||||
var r : Number = Math.PI / 2 + Math.atan2(zc, za);
|
||||
var zb : Number = Math.cos(r) * s;
|
||||
var zd : Number = Math.sin(r) * s;
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user