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
Nathan Sweet
a5bbe44477
[libgdx] Clean up.
2021-05-30 13:03:41 -04:00
Nathan Sweet
14b317008b
[libgdx] Keep slot deform when changing the attachment if the new attachment is compatible with the deform.
...
Forum discussion:
http://esotericsoftware.com/forum/Swapping-a-linked-mesh-attachment-causes-a-flicker-15869?p=69490#p69490
2021-05-27 18:37:46 -04:00
Nathan Sweet
1ffab53d97
[libgdx] Javadoc typos.
2021-05-27 13:18:46 -04:00
Nathan Sweet
4f73fbbb39
[libgdx] Fixed applying a constraint reverting changes from other constraints.
...
Previously: When a bone in the update cache is updated, the local transform is used. This causes any applied transform to be lost, losing the pose from any previously applied constraints.
After this commit: Before processing the update cache, first all bones applied transform is set to the local transform. Next, when a bone in the update cache is updated, the applied transform is used. This keeps the pose from any previously applied constraints. Additionally, instead of using the `appliedValid` flag, the applied transform is always updated after making changes to the world transform.
Forum discussion:
http://esotericsoftware.com/forum/Editor-Parent-constraint-order-breaks-child-constraints-15774?p=69494#p69494
2021-05-25 13:12:55 -04:00
Nathan Sweet
9795ef1a1d
[libgdx] Minor clipping improvements.
...
* Don't return clipping polygon count (editor no longer needs it).
* Avoid returning to the pool, then immediately getting it out again.
2021-04-08 15:40:28 +02:00
Nathan Sweet
33bce01fee
[libgdx] Allow uniform for two bone IK.
2021-04-01 00:47:09 +02:00
Nathan Sweet
f9862b10b3
[libgdx] Stretch forces 0 child Y, avoid acos and division.
2021-03-31 18:03:46 +02:00
Nathan Sweet
b05422bf0d
[libgdx] Added SkeletonLoader#readSkeletonData(InputStream).
2021-03-13 19:07:48 +01:00
Nathan Sweet
8c4d03c8be
Fixed reading path constraint mix timelines in binary data.
2021-03-01 18:18:05 +01:00
Nathan Sweet
12d83571ae
[libgdx] Javadoc.
2021-01-05 22:46:00 -08:00
Nathan Sweet
f8d6359b32
[csharp][unity] Updated TextureAtlas parsing for latest format.
2020-12-20 15:26:05 -08:00
Nathan Sweet
08927258cc
[libgdx] Use separate color/alpha blend functions to fix non-PMA FBO rendering.
...
closes #1540
2020-12-08 17:26:31 -08:00
Nathan Sweet
df489b1f4a
[libgdx] Fixed an infinite loop with path constraint.
2020-11-23 17:37:48 -08:00
Nathan Sweet
1b4973628c
[libgdx] Fixed path constraint spacing for zero length bones.
2020-11-22 20:37:08 -08:00
Nathan Sweet
3cab1615ad
[libgdx] Added Skeleton#setColor(float, float, float, float).
2020-11-19 18:12:03 -08:00
Nathan Sweet
e14db0ec2c
[libgdx] Fixed path constraint when a parent bone of the path is scaled.
...
closes EsotericSoftware/spine-editor#499
2020-11-15 23:50:34 -08:00
Nathan Sweet
10d5a918ca
[libgdx] Added a proportional spacing mode to path constraints.
...
EsotericSoftware/spine-editor#414
2020-11-15 23:50:34 -08:00
Nathan Sweet
da1b280275
[libgdx] Added separate X and Y sliders for path constraint translate mix.
2020-11-15 17:10:14 -08:00
Nathan Sweet
dbd90caa53
* Added separate X and Y for transform constraint translate and scale mix.
...
* Renamed `xxxMix` to `mixXxx` to avoid names like `scaleXMix`.
2020-11-14 18:59:42 -08:00
Nathan Sweet
391917d37b
[libgdx] Fixed AlphaTimeline and loading RGB timelines in skeleton data.
2020-11-12 12:33:58 -08:00
Nathan Sweet
6e709a160f
[libgdx] Fixed RGB2Timeline and loading skeleton data data.
2020-11-12 00:06:38 -08:00
Nathan Sweet
549e9ae67b
[libgdx] Added separate keying for translateX/Y, scaleX/Y, shearX/Y, and colorRGB/A.
...
The first editor version able to export data in this format is 4.0.24-beta.
EsotericSoftware/spine-editor#26
EsotericSoftware/spine-editor#27
2020-11-10 17:43:47 -08:00
Nathan Sweet
a814535110
[libgdx] Expose TwoColorPolygonBatch#setupMatrices().
2020-10-28 15:58:17 -07:00
Nathan Sweet
f42f4bc3b3
[libgdx] Fixed javadocs, binary -> linear search.
2020-10-26 15:47:18 -07:00
badlogic
2545b4efdc
Fix libGDX versioni in Maven and Gradle builds.
2020-10-22 14:52:59 +02:00
Nathan Sweet
3ab0b72033
[libgdx] Fixed skeleton data loader scale for IK constraint timelines.
2020-10-21 21:31:47 -07:00
Nathan Sweet
453b49f55d
[libgdx] Fixed reading dark colors from JSON.
2020-10-14 19:13:27 -07:00
Nathan Sweet
01250b0491
Expose debug renderer colors.
2020-10-14 14:47:59 -07:00
Nathan Sweet
3bfbc75a6a
Fixed SkeletonBinary scale for path constraint position/spacing.
2020-10-06 13:23:32 -07:00
Nathan Sweet
1dbbec55fc
Added setDefaultShader and a bind method for customization when a texture is bound (eg to set shader values).
2020-10-05 23:08:26 -07:00
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
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
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