mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
[ts] 4.3 porting - Fix SkeletonBinary.
This commit is contained in:
parent
503941ac92
commit
71a2d90839
@ -229,8 +229,8 @@ export class SkeletonBinary {
|
|||||||
default: to = null;
|
default: to = null;
|
||||||
}
|
}
|
||||||
if (!to) continue;
|
if (!to) continue;
|
||||||
to.offset = input.readFloat() * scale;
|
to.offset = input.readFloat() * toScale;
|
||||||
to.max = input.readFloat() * scale;
|
to.max = input.readFloat() * toScale;
|
||||||
to.scale = input.readFloat() * toScale / fromScale;
|
to.scale = input.readFloat() * toScale / fromScale;
|
||||||
from.to[t] = to;
|
from.to[t] = to;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user