Skip to content

Commit dce854e

Browse files
committed
[csharp] Fixed a porting error of leftover break. See commit 8dd7016.
1 parent d4242a8 commit dce854e

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

spine-csharp/src/SkeletonBinary.cs

-2
Original file line numberDiff line numberDiff line change
@@ -891,7 +891,6 @@ private Animation ReadAnimation (String name, SkeletonInput input, SkeletonData
891891
timeline.SetFrame(frame, time, mix, softness, (flags & 8) != 0 ? 1 : -1, (flags & 16) != 0, (flags & 32) != 0);
892892

893893
if (frame == frameLast) break;
894-
//float time2 = input.ReadFloat(), mix2 = input.ReadFloat(), softness2 = input.ReadFloat() * scale;
895894
flags = input.Read();
896895
float time2 = input.ReadFloat(), mix2 = (flags & 1) != 0 ? ((flags & 2) != 0 ? input.ReadFloat() : 1) : 0;
897896
float softness2 = (flags & 4) != 0 ? input.ReadFloat() * scale : 0;
@@ -900,7 +899,6 @@ private Animation ReadAnimation (String name, SkeletonInput input, SkeletonData
900899
else if ((flags & 128) != 0) {
901900
SetBezier(input, timeline, bezier++, frame, 0, time, time2, mix, mix2, 1);
902901
SetBezier(input, timeline, bezier++, frame, 1, time, time2, softness, softness2, scale);
903-
break;
904902
}
905903
time = time2;
906904
mix = mix2;

spine-csharp/src/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "com.esotericsoftware.spine.spine-csharp",
33
"displayName": "spine-csharp Runtime",
44
"description": "This plugin provides the spine-csharp core runtime.",
5-
"version": "4.2.15",
5+
"version": "4.2.16",
66
"unity": "2018.3",
77
"author": {
88
"name": "Esoteric Software",

0 commit comments

Comments
 (0)