Harald Csaszar
5b6c220bf6
[csharp] Port of commits 81baef0 and 4efd63f: Fixed crash when a pingpong sequence has 1 frame. Use linked mesh sequence properties when inheriting a sequence timeline.
2022-06-20 11:26:35 +02:00
Harald Csaszar
70a318da7c
[unity] Added missing TextureRegion.meta file. Closes #2060 .
2022-04-06 10:16:18 +02:00
Harald Csaszar
5a95f90c67
Merge branch '4.0' into 4.1-beta
2022-03-22 15:22:06 +01:00
Harald Csaszar
559af1159b
[csharp] Minor bugfix of binary 3.8 version fallback reading logic.
2022-03-22 15:20:06 +01:00
Harald Csaszar
935cb3b491
Merge branch '4.0' into 4.1-beta
2022-03-07 18:10:46 +01:00
Harald Csaszar
4a10e10e91
[unity] Corrected spine-csharp package.json file, it contained src as folders directory (where it already resides).
2022-03-07 17:50:18 +01:00
Harald Csaszar
091ece0aa3
Merge branch '4.0' into 4.1-beta
2022-01-26 15:27:59 +01:00
Harald Csaszar
f5f91899f4
[csharp] Port fix of additive scale mixing. See #2028 , see commit a5b6762.
2022-01-26 15:25:47 +01:00
Harald Csaszar
4cbae2411a
[unity] Minor: removed a commented-out leftover line of code.
2022-01-26 15:25:47 +01:00
Harald Csaszar
d05e1a91c5
[chsarp] Port of commit c218918: Added TrackEntry#shortestRotation.
2022-01-19 15:08:55 +01:00
Harald Csaszar
6f59a35f0d
[csharp] Port of commit a898aed2: Added pingpongReverse to SequenceTimeline.
2021-12-13 20:34:21 +01:00
Harald Csaszar
90dd4bc8af
[unity] SkeletonRootMotion components now respect TransformConstraint timelines. Closes #1944 .
2021-11-16 18:01:00 +01:00
Harald Csaszar
4cd1d13d3a
[csharp][unity] Fixed compile error on older Unity/csharp versions of previous commit 3250e74 "Port sequence attachment." See #1956 .
2021-11-03 16:08:31 +01:00
Harald Csaszar
3250e74e26
[csharp][unity] Port sequence attachment. See #1956 . Also port of other 4.1-beta branch changes compared to 4.0.
2021-11-03 15:26:22 +01:00
Mario Zechner
e6aefc1065
Merge branch '4.0' into 4.1-beta
2021-10-11 16:00:23 +02:00
Harald Csaszar
702322e27b
[csharp] Minor cleanup: Fixed whitespace to please format checks.
2021-10-06 09:18:18 +02:00
Harald Csaszar
eb5a776d72
[csharp] Port of commit d9b882e. Added TrackEntry.IsEmptyAnimation.
2021-10-05 19:04:24 +02:00
Harald Csaszar
9155d6e2f0
[csharp] Fixed Bone.UpdateAppliedTransform being public instead of internal.
2021-10-02 09:34:46 +02:00
Harald Csaszar
39dfca8263
[Unity] Fixed Update When Invisible mode causing strange Event timing. Closes #1954 .
2021-09-29 19:32:48 +02:00
Nathan Sweet
96a998b82d
Spine Runtimes License Agreement update (September 24, 2021).
2021-09-24 18:18:19 -10:00
Nathan Sweet
77774608bf
[as3][c][cpp][csharp][libgdx][lua][ts] Fixed updateAppliedTransform for the root bone.
2021-09-16 17:00:10 -06:00
Harald Csaszar
cd8064774f
[csharp][unity] Cleanup refactoring of TranslateTimeline.Evaluate code, see previous commit 91f7969c. See #1676 .
2021-09-15 16:30:43 +02:00
Nathan Sweet
f4021177f9
[as3][c][cpp][csharp][libgdx][lua][ts] Don't treat scale sign as an instant transition when applying a timeline additively.
2021-09-15 00:28:43 -06:00
Harald Csaszar
91f7969cdc
[csharp][unity] Adjusted spine-csharp and dependent modules to being used as separate UPM packages. See #1676 .
2021-09-14 17:12:50 +02:00
Nathan Sweet
dc9a6ebe7f
[as3][c][cpp][csharp][libgdx][lua][ts] Fixed loading transform constraint timelines from JSON data.
...
* Fixed SkeletonJson not allocating enough memory for curves (maximum of 6 curves/key, not 4). Fixes email: FMfcgzGkbDfvckWcFxWlsTWzFhMXsTDw
* Removed SkeletonData and Skeleton methods: findBoneIndex, findSlotIndex. Bones and slots have an index field that should be used instead.
* Removed SkeletonData and Skeleton methods: find*ConstraintIndex. Only SkeletonJson needed these, they don't need to be in the public API.
* Used a local for number of frames where it was used many times.
2021-09-12 18:15:19 -06:00
Nathan Sweet
efac69ee7a
Fixed scale of constrained bones with transform constraint relative + local.
2021-09-06 19:54:17 -06:00
Harald Csaszar
dfa2513f3d
[csharp][unity] Added spine-csharp .meta files to git. Required for UPM package. See #1676 .
2021-09-06 17:39:58 +02:00
Harald Csaszar
f0559f35a4
[csharp] Added AnimationState event documentation lines linking to API reference page and spine-unity docs page.
2021-08-23 12:32:11 +02:00
Mario Zechner
0bf2fb6059
Revert "Formatting errors to test GH Action."
...
This reverts commit 1800b235458b331b87bed27ce5aee55575163fc7.
2021-08-18 21:21:09 +02:00
Mario Zechner
1800b23545
Formatting errors to test GH Action.
2021-08-18 21:15:37 +02:00
Mario Zechner
6a93555805
Remove BOMs
2021-08-18 20:51:17 +02:00
Mario Zechner
d12b15ca8d
[csharp] Format all source code using formatters/.editorconfig
2021-08-18 18:59:53 +02:00
Harald Csaszar
34d5af502e
[tools] Updated csharp .editorconfig formatter configuration to include a newline the the end of file. Removed commented out unused code.
2021-08-18 16:45:28 +02:00
Nathan Sweet
8d99332f7f
[all] Fixed AnimationState#addEmptyAnimation when the track is empty.
...
http://esotericsoftware.com/forum/Spine-4-change-in-behavior-with-EmptyAnimation-16176
2021-07-28 20:32:53 -04:00
Nathan Sweet
0b01c0036e
[as3][c][cpp][csharp][libgdx][ts] Fixed SkeletonBinary scale not being applied to some timelines.
...
closes #1928
2021-07-20 13:31:31 -04:00
Nathan Sweet
fd6dd42d66
[csharp] Fixed index out of bounds when firing events.
2021-07-11 15:40:24 -04:00
Harald Csaszar
8a47f548a3
[csharp] Fixed bezier json curve out of bounds array access. Closes #1921 .
2021-07-07 17:57:43 +02:00
Nathan Sweet
87b9821e00
[as3][c][cpp][cs][libgdx][lua] Fixed crash with path constraint proportional spacing and tangent rotate modes.
2021-06-30 14:11:26 -04:00
Nathan Sweet
d4271ccae9
Fixed AnimationState#clearNext.
2021-06-20 15:53:19 -04:00
Harald Csaszar
950760903b
[csharp] Port of bugfix commits 8e21d09 and 9b37c31, resetting mixBlend and stepped timelines. See #1903 .
2021-06-15 09:09:10 +02:00
Nathan Sweet
0347c262e0
[ts, csharp] Revert RegionAttachment#UpdateOffset from csharp to ts, instead use ts code.
...
#1889
2021-06-10 00:04:28 -04:00
Nathan Sweet
791a9e6c4a
[csharp] RegionAttachment#UpdateOffset clean up.
2021-06-09 23:55:52 -04:00
Nathan Sweet
d856ece2f2
SkeletonJson clean up.
2021-06-06 23:18:12 -04:00
Nathan Sweet
a5be08a62a
More clean up.
2021-06-05 21:16:36 -04:00
Nathan Sweet
700d2897a8
Various clean up.
2021-06-04 22:16:54 -04:00
Nathan Sweet
7df74c2fa4
Various fixes, clean up.
...
* Added missing CurveTimeline#shrink calls. c and cpp got BOZO comments until the method is added.
* SkeletonJson#readCurve clean up.
* ts, use shorthand for null checks.
* csharp, don't use unnecessary hasNext local.
2021-06-03 21:42:35 -04:00
Nathan Sweet
7aa940a961
Fixes for reading mix X/Y.
2021-06-03 15:33:48 -04:00
Nathan Sweet
963da7561e
[csharp] Code style update.
...
* `else` on same line as `if` brace.
* `var` only when the type is shown.
* Removed unnecessarily locals, eg `var events = this.events; var eventsItems = events.Items;`.
* Don't indent `case`.
* ExposedList for EventQueue just so iteration can use array indexing.
* EventQueue, inner members (struct/enum) after methods.
* No braces for single line `if/else/for`.
* Removed comments noting ref impl code, eg `// abc.setSize(xyz);`.
* Removed comments that didn't add to what the code shows, eg `// Pooling`.
* Removed comments not in ref impl about implementation details, eg `// nextTrackLast == -1 ...`.
* Removed commented code we are not using.
* Use local with list.Items when iterating.
2021-05-31 01:26:41 -04:00
Harald Csaszar
e7533dff0f
[csharp] Port of commit 14b3170 "Keep slot deform when changing the attachment if the new attachment is compatible with the deform.", see #1896 .
2021-05-28 12:36:13 +02:00
Harald Csaszar
8bced33fc6
[xna] Fixed a compile error in Atlas loading (in a non-Unity #if codebranch).
2021-05-27 19:41:45 +02:00