618 Commits

Author SHA1 Message Date
badlogic
d885ae45a2 Merge branch '3.8' into 3.9-beta 2020-04-13 10:29:36 +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
Harald Csaszar
66da4e4282 Merge branch '3.8' into 3.9-beta 2020-01-24 13:59:33 +01:00
Harald Csaszar
d252df7ece [unity] Fixed some compiler warnings when building for platforms instead of editor. Closes #1604. 2020-01-24 13:55:45 +01:00
Harald Csaszar
1185c62ea3 Merge branch '3.8' into 3.9-beta 2020-01-24 13:11:26 +01:00
Harald Csaszar
e62c42c041 [csharp] Fixed precision problems when inherit rotation is disabled and parent rotated by disabling sin/cos/atan2 look up table based implementation. Define can manually be enabled in code in case anyone really receives any measuarable performance impact (which I did not). Closes #1606. 2020-01-24 12:56:23 +01:00
Mario Zechner
f28e83539f Merge branch '3.8' into 3.9-beta 2019-12-22 18:09:35 +01:00
Mario Zechner
89da80d25f [csharp] Fixed errors in IKConstraint.cs. 2019-12-22 18:09:02 +01:00
badlogic
934bec56b7 Merge branch '3.8' into 3.9-beta 2019-12-20 12:27:35 +01: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
1802f7319a [csharp] Fixed an error in Skin where Skin.setAttachment() did not work as expected on 3.8 branch (See #1485). 2019-12-02 18:01:33 +01:00
Harald Csaszar
f3b6cc5933 [unity] Removal of usage statement. Addition to last cleanup commit, see commit c6bd125. 2019-11-29 16:10:26 +01:00
Harald Csaszar
c6bd125dea [unity] Cleanup removing OrderedDictionary usage in Skin. See commits ab7bd0f and f2a8c9a. 2019-11-29 16:00:23 +01:00
NathanSweet
ab7bd0f75f Minor clean up. 2019-11-29 14:41:19 +01:00
Harald Csaszar
f2a8c9a3c1 [unity][csharp] API Cleanup: removed many redundant extension methods that are now obsolete with Skin and Attachment API of 3.8. Closes #1557. Fixed an error in Skin where Skin.setAttachment() did not work as expected (See #1485). C# implementation is different to ref-impl here as struct keys do not allow for changing key.Attachment later without removing and readding the entry to the dictionary. 2019-11-29 12:31:39 +01:00
Harald Csaszar
701ef901dc [csharp] Fixed RegionAttachment copy method, did not copy color. Closes #1555. 2019-11-27 10:37:02 +01:00
Harald Csaszar
cb59d8d78b [csharp] Fixed RegionAttachment copy method, did not copy color. Closes #1555. 2019-11-27 10:36:35 +01:00
Harald Csaszar
c96b426364 [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:20:35 +02: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
001373c7de [csharp] Store timeline ids inside set in Animation for O(1) lookup. See #1462. 2019-09-26 17:05:33 +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
Harald Csaszar
159d71b827 [unity] Fixed Skin created by GetRepackedSkin not copying bones list. Closes #1474. 2019-09-24 17:07:12 +02:00
badlogic
6d674c975f [chsarp] MeshAttachment Copy() and NewLinkedMesh() didn't copy region UVs properly. Closes #1499. 2019-09-19 16:39:43 +02:00
NathanSweet
842dffbd83 [all] Source clean up, formatting, and tabs for indentation. 2019-08-27 15:57:14 +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
4d21180570 [csharp] Fixed MeshAttachment copies not copying rotation. Closes #1452. 2019-08-15 11:15:00 +02:00
Harald Csaszar
0b4bc2db94 [csharp] Removed #if UNITY_EDITOR guards around linq code from spine-csharp code again (OrderedDictionary). 2019-08-07 17:33:38 +02:00
Harald Csaszar
bc522117b1 [csharp] Fixed a typo in SkeletonBinary.cs that led to a compile error. 2019-08-07 14:48:44 +02:00
Harald Csaszar
ed95732bf2 [csharp] Changed Skin.Attachment type to generic OrderedDictionary. Cleaned up related code. Closes #1433. 2019-08-07 14:42:15 +02:00
badlogic
336288cb2e [csharp] fix parsing of default skins without attachment for binary files. 2019-08-07 11:43:29 +02:00
Harald Csaszar
08f1741e2b [csharp] Fixed two more differences between SkeletonJson reference implementation and csharp version. See #1411. 2019-07-17 14:50:15 +02:00
Harald Csaszar
234daf516e [unity] Fixed json curve import: was mis-interpreting curves as linear instead of a smooth curve. Closes #1411. 2019-07-17 13:37:08 +02:00
badlogic
73fc7867d8 [csharp] Made Skeleton.scaleX/scaleY private, Skeleton.ScaleY getter takes Bone.yDown into account. Fixes #1386. 2019-06-24 14:12:18 +02:00
Harald Csaszar
505719c1f1 [unity] Added soft IK support. See #1383. 2019-06-20 10:19:17 +02:00
Harald Csaszar
8cfe6be2c0 [csharp] Port of commit ccc5b2f: Fixed root bone transform for skeleton scale to use world axes. See #1373. 2019-06-13 15:18:55 +02:00
badlogic
9ff708615d [csharp] Ported active bone check in SkeletonBounds. See #1378. 2019-06-11 15:33:31 +02:00
Harald Csaszar
55daa017d5 [csharp] Fixed a mistake of last porting commit 217ebe8: Binary format, added a string table. Changed some lines to be closer to ref-impl. 2019-06-05 20:57:20 +02:00
Harald Csaszar
217ebe8888 [csharp] Port of commits 7249fd6, 30a1a9b, 634887f: Binary format, added a string table. csharp: Moved separate functions to SkeletonInput class for unification with reference impl. 2019-06-05 19:57:23 +02:00
Harald Csaszar
5193613445 [csharp] Port of commit ec5b721: Set array sizes up front rather than shrink afterward. Also changed IkConstraintData.Bones type from List<BoneData> to ExposedList<BoneData> for unification reasons. 2019-06-05 18:43: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
68f8cc40c4 [csharp] Added missing csharp-specific lines for latest API changes (missing copying of Attachment.RenderObject). See #841. 2019-06-03 18:34:54 +02:00
Harald Csaszar
42da1973e4 [csharp] More skin API changes, ports of commits 8d0ffd0 and 829fcc4. See #841. 2019-06-03 16:48:31 +02:00
Harald Csaszar
4a684f63bf [csharp] Ported more skin API changes of commits eae88a0 and b87ff73 (Added Mesh#newLinkedMesh(), replaced VertexAttachment#applyDeform with VertexAttachment#deformAttachment), see #841. 2019-05-31 21:25:46 +02:00
Harald Csaszar
c63bc7b88f [csharp] See #1346: Port bone/constraint association with skins. Also contains second (and final) partial port of commit ff5b854. Adapted spine-unity for skin changes. Fixed a bug in Skin setter property. 2019-05-22 18:37:57 +02:00
Harald Csaszar
0791df8c4c [csharp] Ported skin API changes part2, see #841. Port of changes of commit ff5b854860f639af1c111596bc407cbe12124d1e. 2019-05-20 11:43:00 +02:00
Harald Csaszar
a009c35b82 [csharp] Ported skin API changes, see #841. 2019-05-17 13:54:56 +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
Harald Csaszar
ae6e63de50 [csharp] Fixed locale-based exception when parsing a Spine atlas. Closes #1354. 2019-05-13 16:47:42 +02:00