5643 Commits

Author SHA1 Message Date
Harald Csaszar
b1e4c8f2b7 [unity] Fixed SkeletonMecanim throwing exception at non-Spine clip. Closes #1675. 2020-05-14 17:50:45 +02:00
Harald Csaszar
3e93e2daf1 [unity] Fixed ghost-movement of Ragdoll components: They did not update the RagdollParent transform. Activate correct behaviour by disabling the inspector property Old Ragdoll Behaviour which was introduced to automatically be backwards-compatible. Closes #1670. 3.8.95 2020-05-07 15:10:20 +02:00
badlogic
6a317a1e3f [runtimes] Port of fix for TransformMode.noRotationOrReflection applying skeleton scale twice. See #1668. 2020-05-06 19:47:08 +02:00
Harald Csaszar
c73f8c1f42 [csharp] Ported automated test set 'AnimationStateTests' to csharp and Unity. 2020-05-06 16:03:04 +02:00
Harald Csaszar
00173b4c60 [csharp] Port of commit de203d5: Fixed TransformMode.noRotationOrReflection applying skeleton scale twice. See #1668. 2020-05-05 15:16:47 +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
e649ef05b7 Added AnimationState listener tests for looping and queuing a second animation. 2020-05-01 20:48:35 +02:00
Harald Csaszar
d499dba7c4 [unity] Unity SpriteAtlas support: Upon build to platform, the internally generated sprite atlas texture is used instead of the png file generated for the editor (to reduce additional memory usage). This completes Unity SpriteAtlas support, together with previous commit d35550d. Closes #940. 2020-04-29 20:44:24 +02:00
Harald Csaszar
22c5144bde [unity] Fixed a build error (build to platform only) in 'Spine Examples' after package.json structures and asmdef files have been added. 2020-04-29 20:27:38 +02:00
Harald Csaszar
d35550d4f4 [unity] Now supporting Unity's SpriteAtlas as atlas provider (instead of .atlas.txt and .png files) alongside a skeleton data file. Accessible via a new tool window "Window - Spine - SpriteAtlas Import". 2020-04-29 19:39:32 +02:00
Harald Csaszar
96bb3630f2 [unity] Fixed a bug where _STRAIGHT_ALPHA_INPUT shader keyword was not set when default import settings are applied automatically (bool parameter was set, but the keyword would only be added when the Inspector is active). 2020-04-29 19:37:04 +02:00
Harald Csaszar
37d569414d [csharp] Minor cleanup: removed unused variable, added null tests to legacy SpriteAttacher class. 2020-04-29 16:08:29 +02:00
Harald Csaszar
a0c0db0f5a [csharp] Fixed ColorTimeline and TwoColorTimeline result colors not being clamped. Closes #1664. 2020-04-24 16:56:53 +02:00
Harald Csaszar
201f0bd7d5 [unity] Fixed an out of bounds access in SkeletonMecanim when multiple interruptions occur. Closes #1661. 2020-04-22 16:36:01 +02:00
badlogic
993e59f6bd [lua] Port AnimationState deform mixing while attachment timelines mix out. See #1653. 2020-04-20 18:01:01 +02:00
badlogic
049adf7e2b [cocos2dx] Apply node Z to debug node. Closes #1655. 2020-04-20 15:51:57 +02:00
Nathan Sweet
30e7812d1f [libgdx] SkeletonViewer, even better handling of atlas file look up. 2020-04-19 16:40:59 +02:00
badlogic
9943a44cc4 [as3] Port AnimationState deform mixing while attachment timelines mix out. See #1653. 2020-04-18 16:41:32 +02:00
badlogic
6bda0c236b [cpp] Port AnimationState deform mixing while attachment timelines mix out. See #1653. 2020-04-17 12:06:36 +02:00
badlogic
7732838d6f [c] Port AnimationState deform mixing while attachment timelines mix out. 2020-04-15 15:24:05 +02:00
badlogic
ccbcf77cdc [ts] Remove LAST calculation. Additional fix for #1653. 2020-04-15 14:49:52 +02:00
Harald Csaszar
6c6c25d5d5 [csharp] Port of commit 30801657: Fixed attachments not being reset when an entry is mixed out. Removed LAST computation. 2020-04-14 20:02:54 +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
badlogic
673b6754aa [ts] Port AnimationState deform mixing while attachment timelines mix out. See #1653. 2020-04-14 16:57:18 +02:00
badlogic
d7c2fecf97 Merge branch '3.8' of https://github.com/esotericsoftware/spine-runtimes into 3.8 2020-04-13 11:20:01 +02:00
badlogic
62cdef33f0 [cpp] Fix memory leak in SkeletonBounds. Closes #1623. 2020-04-13 11:19:54 +02:00
Jan Niklas Hasse
c0f101969d
[c] Ignore unused result from fread (#1644)
src/spine/extension.c:95:2: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
   95 |  fread(data, 1, *length, file);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2020-04-13 11:05:42 +02:00
badlogic
b44154e2b7 [lua] Fix track enumeration. Closes #1635. 2020-04-13 10:55:12 +02:00
badlogic
0e6f293389 [as3] Fixes incorrect parsing of curves in SkeletonJson. Closes #1639. 2020-04-13 10:48:28 +02:00
badlogic
1e5aaeaa8b [lua] Fix transform constraint parsing. Closes #1647. 2020-04-13 10:34:42 +02:00
badlogic
e066356da0 [as3][starling] Fix JSON parsing error when parsing path timelines. Closes #1625. 2020-04-13 10:29:25 +02:00
badlogic
9f72e6c543 Merge branch '3.8' of https://github.com/esotericsoftware/spine-runtimes into 3.8 2020-04-10 10:17:35 +02:00
badlogic
2d0fd7f7b3 [ts] Added simple WebGL example. 2020-04-10 10:17:29 +02:00
Harald Csaszar
381c23b5fc [unity] Fixed some Inspector buttons being displayed without border in Unity 2019.3. GuiStyle.Name was the problem. Fixes #1654. 2020-04-07 21:24:26 +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
3321751f98 [unity] Added package.json files to support using the spine-unity core runtime and the examples as UPM packages. This could be used to e.g. reduce compile time. See #1276. 2020-04-06 18:01:40 +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
Harald Csaszar
fbcd00d41a [unity] Replaced full json parsing for version string in SkeletonDataCompatibility.GetVersionInfo() with lightweight regex variant (fallback to full parsing). Affects editor only, built binary always excluded GetVersionInfo() checks. 2020-04-01 15:20:43 +02:00
Nathan Sweet
b566bfb0b9 Javadocs. 2020-03-30 23:21:31 +02:00
Harald Csaszar
7c2e2cb7ef [unity] Fixed a potential null reference exception reported by a user. 2020-03-30 17:46:29 +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
Mario Zechner
70e7519813 [ue4] Apply V1 default settings in build.cs only for UE 4.24 and later. Previous versions don't have that setting. Closes #1631. 2020-03-30 16:22:15 +02:00
Mario Zechner
7089947ecc [ue4] Updated example project to UE 4.24.3. Fixed up plugin module headers and build.cs files to conform to the new UBT rules. We use the V1 default settings for now, to keep compatibility with older UE4 versions. 2020-03-30 15:55:13 +02:00
Harald Csaszar
2743f9159b [unity] added minor changelog section mentioning added URP example scene. 2020-03-27 20:06:27 +01:00
Harald Csaszar
f75adfaca8 [unity] Improved Editor behaviour of RenderExistingMesh component. Removed unnecessary SkeletonGraphic codeparts from it. 2020-03-27 19:29:52 +01:00
Harald Csaszar
a5c3200f89 [unity] Added changelog entry for the last commits. 2020-03-27 19:09:52 +01:00
Harald Csaszar
20d0525c22 [unity] Added Outline Shaders URP example scene demonstrating the workflow using the new RenderExistingMesh component and the new outline URP shader. 2020-03-27 18:53:53 +01:00
Harald Csaszar
519b01ee51 [unity] Added OnMeshAndMaterialsUpdated callback event to SkeletonRenderer and SkeletonGraphic. Added example component RenderExistingMesh.cs to render a mesh again with different materials, as required by the new outline-only shaders added in the previous commit. 2020-03-27 17:54:36 +01:00
Harald Csaszar
6df16d4fe1 [unity] Added ontline-only single pass shaders to LWRP and URP packages. This allows for separate outline child GameObjects that reference the existing Mesh of their parent, and re-draw the mesh using this outline shader.
The component to ease replacing materials of the parent will be added in separate upcoming commit.
2020-03-27 16:56:33 +01:00