147 Commits

Author SHA1 Message Date
Mario Zechner
4047f1ba07 Updated license headers. 2023-07-31 13:29:16 +02:00
Harald Csaszar
01b8c06800 [csharp] Code cleanup: replaced var with explicit type names. 2023-01-10 13:03:56 +01:00
Harald Csaszar
d05e1a91c5 [chsarp] Port of commit c218918: Added TrackEntry#shortestRotation. 2022-01-19 15:08:55 +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
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
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
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
d12b15ca8d [csharp] Format all source code using formatters/.editorconfig 2021-08-18 18:59:53 +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
fd6dd42d66 [csharp] Fixed index out of bounds when firing events. 2021-07-11 15:40:24 -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
a5be08a62a More clean up. 2021-06-05 21:16:36 -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
badlogic
ae6eda01f7 Merge branch '3.8' into 4.0-beta
# Conflicts:
#	spine-ts/build/spine-all.js.map
#	spine-ts/build/spine-canvas.js.map
#	spine-ts/build/spine-core.js.map
#	spine-ts/build/spine-player.js.map
#	spine-ts/build/spine-threejs.js.map
#	spine-ts/build/spine-webgl.js.map
#	spine-ts/canvas/example/assets/spineboy-ess.json
#	spine-ts/canvas/example/assets/spineboy.png
#	spine-ts/player/example/assets/raptor-pma.png
#	spine-ts/player/example/assets/raptor-pro.json
#	spine-ts/player/example/assets/spineboy-pma.png
#	spine-ts/player/example/assets/spineboy-pro.skel
#	spine-ts/threejs/example/assets/raptor-pro.json
#	spine-ts/threejs/example/assets/raptor.png
#	spine-ts/webgl/example/assets/coin-pro.skel
#	spine-ts/webgl/example/assets/goblins-pro.skel
#	spine-ts/webgl/example/assets/mix-and-match-pma.atlas
#	spine-ts/webgl/example/assets/mix-and-match-pma.png
#	spine-ts/webgl/example/assets/mix-and-match-pro.skel
#	spine-ts/webgl/example/assets/owl-pma.png
#	spine-ts/webgl/example/assets/owl-pro.skel
#	spine-ts/webgl/example/assets/raptor-pma.png
#	spine-ts/webgl/example/assets/raptor-pro.skel
#	spine-ts/webgl/example/assets/spineboy-pma.png
#	spine-ts/webgl/example/assets/spineboy-pro.skel
#	spine-ts/webgl/example/assets/spineboy.png
#	spine-ts/webgl/example/assets/stretchyman-pro.skel
#	spine-ts/webgl/example/assets/tank-pma.atlas
#	spine-ts/webgl/example/assets/tank-pma.png
#	spine-ts/webgl/example/assets/tank-pro.skel
#	spine-ts/webgl/example/assets/vine-pro.skel
2020-11-27 18:47:44 +01:00
Harald Csaszar
3151c18b6c [unity] SkeletonRenderer components now provide an additional update mode Only Event Timelines at the Update When Invisible property. Added methods to AnimationState for proper behaviour during transitions. Closes #1815. 2020-11-27 14:03:41 +01:00
Harald Csaszar
d2529d410b [csharp] Porting of major 4.0-beta runtime changes. Remaining Unity assets will be updated in separate commit. See #1796. 2020-10-22 14:44:13 +02:00
Harald Csaszar
0245a83a07 [csharp] Port of commit 8290353. Fix for hold previous on 3+ animations causing dipping. See #1738. 2020-08-13 12:57:52 +02:00
Harald Csaszar
7ecc3b6f95 [unity] Reload during Play mode now copies registered event subscribers from before reload. Closes #1704. 2020-06-24 16:08:02 +02:00
Harald Csaszar
6c6c25d5d5 [csharp] Port of commit 30801657: Fixed attachments not being reset when an entry is mixed out. Removed LAST computation. 2020-04-14 20:02:54 +02:00
Harald Csaszar
39387b1015 [csharp] Port of commits dd1b3aaa and b566bfb0. Improved AnimationState deform mixing while attachment timelines mix out. See #1653. 2020-04-06 21:27:54 +02:00
badlogic
b67bf992a0 Single bone IK fix and license header update. Closes #1580, closes #1581. 2019-12-20 12:20:46 +01:00
Harald Csaszar
8b9c9314f2 [unity] Fixed transition blending of Deform timeline. Led to difference of vertex location to reference implementation after animation transition. Closes #1525. 2019-10-18 15:17:24 +02:00
Harald Csaszar
570f8df178 [csharp] Store timeline ids inside set in Animation for O(1) lookup. See #1462. 2019-09-26 17:05:07 +02:00
badlogic
b17a20286f [csharp] Apply left over time additively to track time of delayed TrackEntry. See #1504. 2019-09-26 11:38:35 +02:00
NathanSweet
2fa85fc1c6 [all] AnimationState, fixed an attachment timeline from changing the mix blend for other timelines.
closes #1461
2019-08-27 13:20:24 +02:00
Harald Csaszar
1d0cce3707 [csharp] Port of more skin API changes, commits: 659c390, 7ee57dc, b3c2170, b71970a, 42c1c4a, 70cdf2d. See #841 2019-06-04 18:24:40 +02:00
Harald Csaszar
f8abf35b8e [csharp] See #1352, Fixed a typo in last commit to make it compile (hash 6341fbbd, "the last subsequent attachment timeline always mixes out to the setup pose.") 2019-05-15 16:23:04 +02:00
badlogic
6341fbbd9d [ts][csharp] Fix for #1352, the last subsequent attachment timeline always mixes out to the setup pose. 2019-05-15 13:52:31 +02:00
badlogic
09130b15df Merge branch '3.7' into 3.8-beta 2019-05-02 11:43:36 +02:00
badlogic
7f7e5f0fec Updated license headers and LICENSE files. 2019-05-02 11:38:19 +02:00
badlogic
2a1b39ee59 Merge branch '3.7' into 3.8-beta 2019-04-04 14:58:35 +02:00
badlogic
ab9b5dc731 [csharp] Port of additive blending fix, see #1322. 2019-04-04 14:55:20 +02:00
Harald Csaszar
0d30263f50 [csharp] Ported AnimationState and Animation changes of commit 50bfb3a. See #1303. 2019-03-19 17:27:37 +01:00
Harald Csaszar
18acce0354 [csharp] Ported AnimationState and Animation changes of commit a321aa7. See #1303. 2019-03-19 17:27:37 +01:00
Harald Csaszar
e35a088c8b [csharp] Minor: Fixed typo in comment, frack vs track. 2019-03-14 13:55:00 +01:00
Harald Csaszar
c33f768932 [csharp] Fixed a difference in AnimationState between csharp and ref-impl. See #1294. 2019-03-12 16:56:28 +01:00
Harald Csaszar
0da0294c83 [csharp] Fixed an error with property ID at deform timeline. Re-synced csharp code to ref impl as much as possible. See #1294. 2019-03-12 16:46:46 +01:00
badlogic
c66113e19d [csharp] Fix for #1290, do not carry over time when timeScale of a track entry taht's being replaced by a new one is 0. 2019-03-04 17:05:03 +01:00
Harald Csaszar
04e2dd835d [csharp] Fixed AnimationState not respecting MixBlend.first for rotate timelines. See #1274. 2019-02-11 20:39:37 +01:00
Harald Csaszar
f186a83fca [csharp] Unified all line endings of files in spine-csharp to lf. 2018-12-24 12:43:06 +01:00
pharan
2db2f22705
[csharp] Fix attachment and draworder threshold TrackEntry settings.
Port of: b4c50035b8
see: https://github.com/EsotericSoftware/spine-runtimes/issues/1204
2018-12-03 18:26:51 +08:00
pharan
4fd1743d87 [csharp] Add docs again. 2018-11-13 05:42:27 +08:00
pharan
afde649c28 [csharp] Some formatting and docs. 2018-11-13 05:37:55 +08:00
badlogic
a064d76832 [csharp] Ported new fix for 0 timeScale not returning to setup pose. See #1194. 2018-10-30 16:51:29 +01:00
badlogic
0e2c41b491 [csharp] Ported 0 timeScale fix, see #1194. 2018-10-15 16:43:26 +02:00