1219 Commits

Author SHA1 Message Date
Nathan Sweet
4e34c0bae1 [libgdx] Removed updateCacheReset optimization.
closes #549
2020-09-20 22:42:05 -07:00
Nathan Sweet
21ebb2db4b [libgdx] Fixed scale timelines not combining key scale with setup pose. 2020-08-20 14:08:53 -07:00
Nathan Sweet
c7e3729546 [skeletonviewer] Better place for test code. 2020-08-13 11:49:16 +02:00
Nathan Sweet
31d040ee05 Merge branch '3.8' into 4.0-beta
# Conflicts:
#	spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/AnimationState.java
2020-08-12 22:24:43 +02:00
Nathan Sweet
829035330b [libgdx] Fixed incorrect mixing when interrupting a mix with a 3rd entry using hold previous.
closes #1738
2020-08-12 22:17:22 +02:00
Nathan Sweet
83931434cc [skeletonviewer] Don't apply hold previous to track 0 or to the first entry on a track. 2020-08-12 22:03:21 +02:00
Nathan Sweet
896e6a419c Merge branch '3.8' into 4.0-beta 2020-08-10 23:56:47 +02:00
Nathan Sweet
4aa54636f2 Javadocs. 2020-08-07 16:09:06 +02:00
Nathan Sweet
e429c045aa Only use alpha to achieve additive blending when tint colors use PMA. 2020-08-02 15:06:33 +02:00
Nathan Sweet
d4881c4d1b Javadoc. 2020-07-20 21:38:23 +02:00
Nathan Sweet
d519216b06 Javadocs. 2020-07-20 11:50:42 +02:00
Nathan Sweet
ad5a64bb9e Separated PMA setting into two settings.
This allows PMA blending modes to be used without color PMA being applied, for when the shader applies PMA.
2020-07-19 15:45:19 +02:00
Nathan Sweet
d99aa12f14 Fixed disableBlending. 2020-07-12 02:12:25 +02:00
Nathan Sweet
7c8cd2cca8 [libgdx] Don't need MathUtils here. 2020-06-20 21:58:34 +02:00
Nathan Sweet
fbd18ec0cb Fixed addEmptyAnimation setting the delay using the default mix duration rather than the specified mix duration. 2020-06-15 20:34:24 +02:00
Nathan Sweet
9d4c5f7278 [libgdx] Better management of the default shader. 2020-06-14 23:44:09 +02:00
Harald Csaszar
54b8039f1a [libgdx] Fixed a clipping bug when there are two clipping meshes and clipping-end-slot is a skin bone that is disabled (Clipping.endClipping not called when slot.bone.active==false). See #1694. 2020-06-05 21:28:51 +02:00
badlogic
691767ca1f Merge branch '3.8' into 3.9-beta 2020-06-03 17:44:21 +02:00
Nathan Sweet
5cab7e9460 Fixed 1-bone IK for transform mode noRotationOrReflection when skeleton scale is applied. 2020-06-03 15:47:46 +02:00
Harald Csaszar
69f78b03e1 Merge branch '3.8' into 3.9-beta 2020-05-20 16:48:55 +02:00
Nathan Sweet
75aba023c3 [libgdx] Allow ClippingAttachment endSlot to be null, @Null annotations on fields, improved javadocs, removed extraneous parenthesis. 2020-05-20 13:28:43 +02:00
Nathan Sweet
d7203eec1a Improved fix for TransformMode.noRotationOrReflection with skeleton scale.
#1668
http://esotericsoftware.com/forum/WebGL-ScaleX-Question-13983
2020-05-20 12:36:35 +02:00
Nathan Sweet
03d5155d6b [libgdx] Fixed AnimationStateTests 24 (setAnimation during AnimationStateListener). 2020-05-05 20:03:42 +02:00
Nathan Sweet
79d2dbfa5f Merge branch '3.8' into 3.9-beta 2020-05-05 15:34:13 +02:00
Nathan Sweet
94e6e41518 Added AnimationState setNext and clearNext.
http://esotericsoftware.com/forum/Keep-track-of-added-animations-13896
2020-05-05 15:34:07 +02:00
Nathan Sweet
de203d5715 Fixed TransformMode.noRotationOrReflection applying skeleton scale twice.
This transform mode inherits scale from the parent, which will have skeleton scale, so should not have it applied again.

closes #1668
2020-05-05 14:44:22 +02:00
Nathan Sweet
742d11f65f [libgdx] SkeletonViewer, try to disable reflective access warning. 2020-05-02 17:42:18 +02:00
Nathan Sweet
e649ef05b7 Added AnimationState listener tests for looping and queuing a second animation. 2020-05-01 20:48:35 +02:00
Nathan Sweet
dea3e3594c Moved @Null for method return values to the same line. 2020-04-22 21:17:40 +02:00
Nathan Sweet
afab54aaa1 Javadocs. 2020-04-22 15:36:41 +02:00
Nathan Sweet
3f3098902b [libgdx] SkeletonViewer, even more sophisticated atlas file search. 2020-04-21 17:34:50 +02:00
Nathan Sweet
077afcea09 [libgdx] Fixed curve values not being scaled when loading data. Added SkeletonLoader. Javadocs. 2020-04-21 17:34:11 +02:00
Nathan Sweet
45767d0e3d [libgdx] Cleaned up simple tests. 2020-04-21 10:04:53 +02:00
Nathan Sweet
b0aa2f7447 [libgdx] Skeleton hash is now a long in the binary format. 2020-04-21 10:04:53 +02:00
Nathan Sweet
b0407a850c Merge branch '3.8' into 3.9-beta 2020-04-19 16:46:41 +02:00
Nathan Sweet
30e7812d1f [libgdx] SkeletonViewer, even better handling of atlas file look up. 2020-04-19 16:40:59 +02:00
Nathan Sweet
1896102d70 Merge branch '3.8' into 3.9-beta
# Conflicts:
#	spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/AnimationState.java
2020-04-19 15:33:59 +02:00
Nathan Sweet
30801657dd [libgdx] Fixed attachments not being reset when an entry is mixed out. Removed LAST computation.
Slot#attachmentState is sufficient to fix up attachments set by animations that are mixing out.

Email: FMfcgxwHMjqkvnPzdPlrGkTpBkGqpwXr
2020-04-14 18:33:01 +02:00
Nathan Sweet
02ecbae91c [libgdx] SkeletonViewer, look harder for atlas using common Unity suffixes. 2020-04-14 18:33:01 +02:00
Nathan Sweet
6b680f7b53 [libgdx] It is safe to use unordered arrays for the Triangulator convexPolygons and convexPolygonsIndices.
Saves copying when removing empty polygons.
2020-04-02 22:56:51 +02:00
Nathan Sweet
24ff3258ec [libgdx] Fixed AnimationState tests.
Commit a321aa76d556a618a09abb3adeb7473a6c099304 added "|| timeline instanceof EventTimeline" to `computeHold`, so event timelines always use FIRST, never HOLD. This changed the timing slightly and broke the test, but the new timing is better.
2020-04-02 17:38:46 +02:00
Nathan Sweet
adc3bbb774 [libgdx] Prefer direct array access.
Already did it some places, might as well do it everywhere.
2020-04-02 00:11:24 +02:00
Nathan Sweet
a28f490c45 Merge branch '3.8' into 3.9-beta
# Conflicts:
#	spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/Animation.java
#	spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/AnimationState.java
2020-03-30 23:33:03 +02:00
Nathan Sweet
b566bfb0b9 Javadocs. 2020-03-30 23:21:31 +02:00
Nathan Sweet
dd1b3aaa50 Improved AnimationState deform mixing while attachment timelines mix out.
See EsotericSoftware/spine-editor#545 for details.

fixes #1292
fixes #1352
fixes EsotericSoftware/spine-editor#545
2020-03-30 17:42:03 +02:00
Nathan Sweet
9b2690bfe7 Formatting. 2020-03-22 03:10:14 +01:00
NathanSweet
fef881730d Don't unbind shaders.
https://github.com/libgdx/libgdx/pull/5944
2020-03-11 11:30:30 +01:00
NathanSweet
5ed73c8a94 Use field for Skeleton Viewer version. 2020-02-24 00:47:19 +01:00
NathanSweet
b5bf674a64 Fixed path spacing/position timelines being swapped, more efficient reading of color times. 2020-02-22 18:51:43 +01:00
NathanSweet
73f90ebc66 Removed unnecessary SuppressWarnings. 2020-02-13 22:26:16 +01:00