435 Commits

Author SHA1 Message Date
NathanSweet
6d87c3bddb Expose applied transform as public API, allow world transform to be modified. 2016-12-24 19:36:14 +01:00
NathanSweet
12c986806d worldToLocalRotation and localToWorldRotation utility methods.
http://esotericsoftware.com/forum/RegionAttachment-offset-7662?p=35770#p35770
2016-12-24 18:04:48 +01:00
NathanSweet
cdaaf295b2 Merge branch 'master' into 3.6-beta 2016-12-14 19:12:16 +01:00
NathanSweet
d77e1fbc53 Clear updateCacheReset when recomputing the update cache. 2016-12-14 19:12:02 +01:00
NathanSweet
d1de3ce22a Reduce bone transforms for local transform constraints.
This is totally right in all scenarios. Right? Right.
2016-12-14 18:30:56 +01:00
NathanSweet
e80b5bc7c9 Added local and relative to transform constraint. 2016-12-14 03:14:52 +01:00
NathanSweet
98b4f3870d Docs. 2016-12-12 14:45:35 +01:00
NathanSweet
2677eff35c [libgdx] Use binarySearch method without step param. 2016-12-07 23:51:12 +01:00
NathanSweet
6fb9a4e991 Merge branch 'master' into 3.6-beta 2016-12-06 16:57:05 +01:00
NathanSweet
c512ee5d59 [libgdx] Don't fire event or complete events when mixDuration is 0.
closes #795
2016-12-06 13:34:17 +01:00
NathanSweet
c136596bff Fixed bone debug rendering. 2016-12-02 13:58:15 +01:00
NathanSweet
932467e3ac [libgdx] Fixed AnimationStateTests. 2016-12-02 04:28:15 +01:00
NathanSweet
b32957bfe0 [libgdx] Default trackEnd to max value, even for non-looping animations.
There will always be a use case where you need to change `trackEnd` from the default value, but it's simpler if the default value is the same for both looping and non-looping animations.
2016-12-01 20:19:57 +01:00
NathanSweet
a6ac746b4f [libgdx] Avoid setting a NaN mixAlpha.
http://esotericsoftware.com/forum/UNITY-5-4-1f1-BUG-ArithmeticException-NAN-7135?p=34824#p34824
2016-12-01 17:29:04 +01:00
NathanSweet
c79dee0dc8 Fixed two color shader. 2016-12-01 14:36:55 +01:00
NathanSweet
e11cd56bac Fixed point attachment world rotation. 2016-12-01 14:36:47 +01:00
NathanSweet
e8296ebc52 Merge branch 'master' into 3.6-beta 2016-11-30 17:44:25 +01:00
NathanSweet
efd0b31723 Added PointAttachment. 2016-11-30 01:11:09 +01:00
NathanSweet
25eae31ae8 [libgdx] Less ugly test code. 2016-11-29 19:07:28 +01:00
NathanSweet
b75a3ddecb Left some code commented out for easier AnimationState testing. 2016-11-29 18:15:42 +01:00
NathanSweet
8e0972d732 Scale path spacing.
http://esotericsoftware.com/forum/Scaling-bone-messes-up-animation-order-7487?p=34659#p34659
2016-11-29 13:23:50 +01:00
NathanSweet
a24fea41c0 Merge branch 'master' into 3.6-beta 2016-11-28 19:25:30 +01:00
NathanSweet
15145fe709 [libgdx] Fixed Skeleton Viewer NPE when project fails to open. 2016-11-28 19:25:10 +01:00
NathanSweet
6af978871b [libgdx] Better way to reset rotation direction on first frame. 2016-11-28 18:10:44 +01:00
NathanSweet
fdd66af5e0 [libgdx] Reset rotation direction for mixing out.
closes #779
2016-11-28 17:50:01 +01:00
NathanSweet
75b44deda0 [libgdx] Added test for two setAnimation calls with mixing. 2016-11-28 16:39:38 +01:00
NathanSweet
7e4ce21951 [libgdx] Added tracking to AnimationState pool. 2016-11-28 16:28:16 +01:00
NathanSweet
9eb18fa2eb Fixed keeping mixingFrom when calling setAnimation twice.
#761
2016-11-28 15:52:10 +01:00
NathanSweet
6a2b0f50de Renamed test events to 0 and 1, matching their indices, added a third test event. 2016-11-28 15:52:03 +01:00
NathanSweet
ae2b708ffc Fixed keeping mixingFrom when calling setAnimation twice.
#761
2016-11-28 15:50:28 +01:00
NathanSweet
e9a1a5d080 Added a third test event. 2016-11-28 15:48:51 +01:00
NathanSweet
19bb3ccf35 Renamed test events to 0 and 1, matching their indices. 2016-11-28 15:42:12 +01:00
NathanSweet
38d925d1a7 JSON and binary loading for two color tinting. 2016-11-28 03:29:49 +01:00
NathanSweet
626a734940 Allow blend func to be bypassed. 2016-11-28 01:52:54 +01:00
NathanSweet
10b5318921 Fixed blending when using two color tinting. 2016-11-28 01:46:46 +01:00
NathanSweet
77099330ad Refactored skeleton renderer, added two color tint polygon renderer. 2016-11-28 00:41:41 +01:00
NathanSweet
e595bc6e4b Don't use dark color's alpha. 2016-11-27 20:26:54 +01:00
NathanSweet
9f69e85574 Added dark color to slot, TwoColorTimeline. 2016-11-27 17:21:52 +01:00
NathanSweet
938db42016 Refactored attachments to fill an array rather than store vertices for rendering. 2016-11-27 02:19:50 +01:00
NathanSweet
020f557004 [libgdx] Fixed losing mixingFrom when calling setAnimation twice.
closes #761
2016-11-23 16:58:53 +01:00
NathanSweet
6d7217d44c [libgdx] Fixed AnimationStateTests.
It now takes one extra frame for a track to be cleared when trackEnd is reached.
2016-11-23 16:52:17 +01:00
NathanSweet
deca6bb92f [libgdx] Reset to setup pose when trackEnd is reached. 2016-11-23 16:37:08 +01:00
NathanSweet
99ca32dabb [libgdx] Only remove mixingFrom entries from the end of the list.
http://esotericsoftware.com/forum/3-5-Mixing-carries-over-multiple-animations-7430?p=34364#p34364
2016-11-23 13:38:44 +01:00
NathanSweet
40cbe8620d [libgdx] During mix, use timeScale from the most current animation. 2016-11-22 17:49:49 +01:00
NathanSweet
e7d25dc2cb [libgdx] Reset rotation direction when changing TrackEntry alpha. 2016-11-20 15:08:01 +01:00
NathanSweet
979d8072bc [libgdx] Default to 30 FPS. 2016-11-18 13:05:08 +01:00
NathanSweet
d52d2e72ee Updated READMEs, supported version is 3.5.xx. 2016-11-15 23:29:27 +01:00
NathanSweet
36000e3c55 Updated to v3.5 (merge dev branch).
# Conflicts:
#	spine-c/src/spine/AnimationState.c
2016-11-15 23:10:23 +01:00
NathanSweet
97756d6921 Added version placeholder for building JAR. 2016-10-17 11:27:36 +02:00
NathanSweet
c0fdc454a2 Fixed inconsistent newlines.
License header was followed by \n\n and files ended with \n. Changed to \r\n.
2016-10-15 23:45:16 +02:00