mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-20 09:16:01 +08:00
[csharp] Fixed a porting error of leftover break. See commit 8dd7016.
This commit is contained in:
parent
d4242a8257
commit
dce854e785
@ -891,7 +891,6 @@ namespace Spine {
|
||||
timeline.SetFrame(frame, time, mix, softness, (flags & 8) != 0 ? 1 : -1, (flags & 16) != 0, (flags & 32) != 0);
|
||||
|
||||
if (frame == frameLast) break;
|
||||
//float time2 = input.ReadFloat(), mix2 = input.ReadFloat(), softness2 = input.ReadFloat() * scale;
|
||||
flags = input.Read();
|
||||
float time2 = input.ReadFloat(), mix2 = (flags & 1) != 0 ? ((flags & 2) != 0 ? input.ReadFloat() : 1) : 0;
|
||||
float softness2 = (flags & 4) != 0 ? input.ReadFloat() * scale : 0;
|
||||
@ -900,7 +899,6 @@ namespace Spine {
|
||||
else if ((flags & 128) != 0) {
|
||||
SetBezier(input, timeline, bezier++, frame, 0, time, time2, mix, mix2, 1);
|
||||
SetBezier(input, timeline, bezier++, frame, 1, time, time2, softness, softness2, scale);
|
||||
break;
|
||||
}
|
||||
time = time2;
|
||||
mix = mix2;
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
"name": "com.esotericsoftware.spine.spine-csharp",
|
||||
"displayName": "spine-csharp Runtime",
|
||||
"description": "This plugin provides the spine-csharp core runtime.",
|
||||
"version": "4.2.15",
|
||||
"version": "4.2.16",
|
||||
"unity": "2018.3",
|
||||
"author": {
|
||||
"name": "Esoteric Software",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user