829 Commits

Author SHA1 Message Date
NathanSweet
c98ed30ebb [libgdx] Updated JsonRollback tool to go from 3.8 JSON to 3.7. 2019-06-05 10:05:31 +02:00
NathanSweet
2cc92a6f7c [libgdx] Don't include inactive bounds when computing skeleton bounds. 2019-06-04 22:40:29 +02:00
NathanSweet
7249fd6e4d [libgdx] Binary format, added a string table.
The binary export for a project with many attachment keys went from 3.5MB to 640KB (63.7KB zipped!).
2019-06-03 16:32:45 +02:00
NathanSweet
ec5b721557 [libgdx] Set array sizes up front rather than shrink afterward.
No format or functional changes here.
2019-06-03 16:32:45 +02:00
badlogic
829fcc4168 [libgdx] Need to check for null attachment in internal entries. 2019-06-03 14:59:21 +02:00
badlogic
f8ea06048c Merge branch 'skin-bones' of https://github.com/EsotericSoftware/spine-runtimes into skin-bones 2019-06-03 14:55:01 +02:00
badlogic
8d0ffd08f0 [libgdx] deformAttachment is set for all vertex attachment types on copy. 2019-06-03 14:54:45 +02:00
NathanSweet
8c2e975c20 Javadoc. 2019-06-03 14:18:15 +02:00
NathanSweet
47c3704acd Javadoc, clean up. 2019-05-31 18:13:02 +02:00
badlogic
b87ff7337b [libgdx] Removed VertexAttachment#applyDeform and replaced it with VertexAttachment#deformAttachment. The attachment set on this field is used to decide if a DeformTimeline should be applied to the attachment active on the slot to which a deform timeline is applied. Also removed inheritDeform field and getters/setters from MeshAttachment. 2019-05-31 17:46:37 +02:00
badlogic
eae88a058c [libgdx] Added Mesh#newLinkedMesh(), creates a linked mesh linked to either the original mesh, or the parent of the original mesh. Changed behaviour of Skin#copy: it always creates linked meshes. This allows changing e.g the region or rendererObject of the mesh, but will still link to the original mesh for vertices and similar data. 2019-05-31 16:55:42 +02:00
badlogic
e03a0ef659 Merge branch '3.8-beta' into skin-bones 2019-05-16 11:28:40 +02:00
NathanSweet
70cdf2dd9a [libgdx] Don't apply slot timelines if the bone is not active or constraint timelines if the constraint is not active. 2019-05-15 22:31:44 +02:00
badlogic
603c9e2366 Fix for #1352. The last subsequent attachment timeline always mixes out to the setup pose. 2019-05-14 17:43:41 +02:00
NathanSweet
42c1c4a7b9 [libgdx] Constraints check if their target bone is active. 2019-05-13 20:12:40 +02:00
NathanSweet
d5f5ff004f [libgdx] SkeletonViewer, reload if the atlas file changes. 2019-05-13 19:54:59 +02:00
badlogic
576c1da32f [ts] Ported skin API changes, see #841. 2019-05-10 15:07:06 +02:00
NathanSweet
b71970afa6 Renamed visible to active. Added isActive to Updatable/bones/constraints. 2019-05-07 12:16:18 +02:00
NathanSweet
b3c2170ed2 Bone timelines do nothing if their bone is not active. 2019-05-06 14:56:30 +02:00
NathanSweet
7ee57dc46f Renderers need to skip slots where the bone is not visible. 2019-05-06 09:47:13 +02:00
NathanSweet
659c3901c3 Ensure ascendants of a bone in a skin are updated. 2019-05-03 22:37:46 +02:00
badlogic
8f6bc427ab Merge branch '3.8-beta' into skin-bones 2019-05-03 11:23:01 +02:00
badlogic
4f3d2d8057 Merge branch '3.7' into 3.8-beta 2019-05-03 10:53:34 +02:00
badlogic
849e9acc7e Updated READMEs. 2019-05-03 10:51:33 +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
NathanSweet
b98469ec89 Changed JSON curve format and added more assumptions for omitted values. 2019-04-30 19:21:44 +02:00
NathanSweet
705195c348 Clean up. 2019-04-30 17:26:54 +02:00
NathanSweet
f0533b6093 Javadocs. 2019-04-30 16:28:21 +02:00
badlogic
f1e199b2bd Fixed Skin#copySkin to take into account parent meshes. 2019-04-30 16:09:49 +02:00
badlogic
ff5b854860 More skin API refactoring. 2019-04-30 15:57:37 +02:00
NathanSweet
ab2b08f583 Fixed attachment timeline test. 2019-04-30 15:46:15 +02:00
badlogic
3281d8c006 Merge branch 'skin-bones' of https://github.com/esotericsoftware/spine-runtimes into skin-bones 2019-04-30 15:35:52 +02:00
NathanSweet
9d41645b57 Don't write skin bones/constraints for the default skin. 2019-04-30 15:36:48 +02:00
badlogic
86c3aa02ba Refactored skin API, see #841. This commit is missing Skin#copy(Skin) which has to handle linked mesh attachments properly. 2019-04-30 15:34:44 +02:00
NathanSweet
6205e51752 Added skin-specific bones and constraints which are only updated if the skeleton's current skin contains them. 2019-04-30 14:02:38 +02:00
NathanSweet
0cbf91d7fd Removed Skin#getAttachments. 2019-04-29 17:33:16 +02:00
NathanSweet
ae8adb9fab Merge branch '3.7' into 3.8-beta 2019-04-21 21:12:49 +02:00
NathanSweet
51d6681db4 [libgdx] Fixed NPE when a mesh has no region. 2019-04-18 21:04:10 +02:00
NathanSweet
d2c006dfd9 [libgdx] Rotated mesh region UV loading. 2019-04-16 19:04:57 +02:00
NathanSweet
175bb90523 [libgdx] Javadoc. 2019-04-16 19:04:57 +02:00
NathanSweet
a42f135baa [libgdx] SkeletonViewer, show "Reload" for load scale reset button. 2019-04-16 19:04:57 +02:00
badlogic
c68d85a1fc [c][cpp] Ported addition of x/y bounding coordinates to SkeletonData. See #1325. 2019-04-16 14:06:41 +02:00
NathanSweet
b99df7286a [libgdx] Fixed AnimationState crash when the number of timelines changes during a mix. 2019-04-14 00:30:56 +02:00
NathanSweet
269e3970ba [libgdx] Added x and y coordinates for setup pose AABB. 2019-04-12 16:39:15 +02:00
badlogic
2a1b39ee59 Merge branch '3.7' into 3.8-beta 2019-04-04 14:58:35 +02:00
NathanSweet
1a4e311522 Added Skin#getAttachments.
Needed for Niklas' work. Not sure it's needed for all runtimes. Note the skin placeholder names are not provided when getting the attachments this way.
2019-04-04 13:04:19 +02:00
NathanSweet
ab78afb07e Pass RotateTimeline to applyRotateTimeline. 2019-04-04 13:02:50 +02:00
NathanSweet
6514c41d17 Fixed additive track mixing when alpha!=1. 2019-04-04 13:02:38 +02:00
NathanSweet
50bfb3ae0f [libgdx] Fixed NPE in AnimationState, javadoc. 2019-03-09 15:10:25 +01:00