Mario Zechner
02dec24ab7
[godot] Additional Godot 4.5 compatibility fixes
...
Fixes additional compatibility issues found when building against Godot 4.5:
1. String::parse_utf8() deprecated and removed in Godot 4.5
- Replaced with String::utf8() for Godot 4.5+
- Added version guards to maintain compatibility with older versions
- Affected files: SpineAnimation, SpineAnimationTrack, SpineAtlasResource,
SpineAttachment, SpineBoneData, SpineConstraintData, SpineEventData,
SpineSkeletonDataResource, SpineSkin, SpineSlotData, SpineSprite
2. Editor header file locations changed in Godot 4.5
- editor/editor_file_system.h -> editor/file_system/editor_file_system.h
- editor/plugins/animation_*_editor_plugin.h -> editor/animation/animation_*_editor_plugin.h
- Added version guards for correct include paths
- Affected files: SpineAtlasResource, SpineAnimationTrack
These changes ensure spine-godot builds successfully with both Godot 4.5 and earlier versions.
2025-11-17 14:49:40 +01:00
Mario Zechner
938c72fa8f
[godot] Backport Godot 4.5 compatibility fixes from 4.3-beta
...
Backported three commits from 4.3-beta branch:
- cc12304ba: Adds TOOLS_ENABLED guards for editor includes
- e063bae54: Adds version macro compatibility for deprecated=no builds (module)
- 3ffea502e: Adds version macro compatibility for deprecated=no builds (extension)
Changes:
1. SpineCommon.h:
- Added #include "core/version_generated.gen.h"
- Added VERSION_MAJOR/MINOR/PATCH macro fallbacks for both module and extension builds
- These macros are needed when building with deprecated=no in Godot 4.5+
2. SpineSkeletonDataResource.cpp and SpineSprite.cpp:
- Wrapped editor_interface.h includes with TOOLS_ENABLED guards
- Required for building export templates (non-editor builds) in Godot 4.5+
This ensures spine-godot compiles correctly with Godot 4.5 in all build configurations.
2025-11-17 14:36:48 +01:00
Luke Ingram
77ec2a3cf5
[godot] Resolves #2925 , fixes regression in building Godot 3.x
...
Incorrect parameters were being passed to functions. This was preventing
Godot 3.x from building.
This fix has been tested against the spine-godot modules 3.6.1-stable,
4.4.1-stable, and the 4.4.1-stable Spine GDExtension.
2025-09-17 21:54:48 -04:00
Luke Ingram
b0890856cd
[godot] Port of 6a08383
...
Adds specular map support to spine-godot on the Spine Runtimes 4.2 branch.
This was tested by porting the changes and compiling the spine-godot editor (version 4.3-stable) from source.
2025-05-28 23:23:56 -04:00
Mario Zechner
97d49b37b7
License header update
2025-05-26 13:24:06 +02:00
Mario Zechner
2712cffc00
[godot] Closes #2832 , SpineSprite.set_time_scale/get_time_scale
2025-04-30 14:01:50 +02:00
Mario Zechner
56cd91047c
[godot] Fix more handling of CJK in names, see #2788
2025-04-18 14:47:00 +02:00
Mario Zechner
a0d28956d2
[godot] Fixes for 4.4, see #2801
2025-04-08 13:51:16 +02:00
Mario Zechner
42fea00bb0
Formatting
2025-02-26 13:39:58 +01:00
Ferdy's Lab
5d23a7df19
fix godot crash when Visible Collision Shapes is enabled ( #2761 )
2025-02-25 10:23:19 +01:00
Mario Zechner
09542677f4
Fix Godot GH actions
2024-10-17 08:37:22 +02:00
Mario Zechner
5600d0d7c7
[godot] Fix statics deinitialization
2024-10-09 21:14:01 +02:00
Mario Zechner
62aad81999
[godot] Fix rendering in GDExtension.
2024-10-09 12:55:17 +02:00
Mario Zechner
13127aa587
[godot] Fix module build for Godot 4.x
2024-10-09 11:13:37 +02:00
Mario Zechner
687a6959bb
[godot] Fix static initializers for GDExtension initialization order, fix remaining FIXMEs, except SpineSprite rendering.
2024-10-08 17:08:43 +02:00
Mario Zechner
887f20435f
[godot] Non-working but compiling state. Crashes when registering various inspectors/editor plugins
2024-10-07 18:07:30 +02:00
Mario Zechner
e9b43f9c73
[godot] More GDExtension work. SpineAnimationTrack, animation mixes editor plugin and SpineMesh2D are non-functional due to missing APIs in godot-cpp
2024-10-07 13:55:01 +02:00
Mario Zechner
fb3d8af281
[godot] Fix builds < 4.3
2024-08-19 14:59:39 +02:00
Mario Zechner
f1956d9496
Formatting.
2024-08-19 14:01:33 +02:00
Mario Zechner
f3ded1ed1a
[godot] Godot 4.3 updates
2024-08-19 14:01:08 +02:00
Mario Zechner
25d55851e9
[godot] Closees #2530 , don't use preview skin/animation at runtime
2024-05-21 11:37:06 +02:00
Mario Zechner
5a462e9e21
[godot] Closes #2516 , memdelete instead of memfree on Control
2024-05-03 12:44:30 +02:00
Mario Zechner
e623140c99
[godot] Port 4.2 changes and expose in GDScript/C#
2024-04-04 15:26:48 +02:00
Mario Zechner
38fa8800f3
[godot] Fix for 4.0/4.1, different API.
2023-12-06 17:29:17 +01:00
Mario Zechner
0d282215bc
[godot] Fix compilation error with 4.2-stable
2023-12-06 17:16:47 +01:00
Mario Zechner
54706aeea7
[godot] Closes #2421 , fix check whether mesh indices changed in between frames.
2023-11-17 19:30:16 +01:00
Mario Zechner
fb11c02be8
[godot] Closes #2373
...
The spine-godot renderer made assumptions about index data that didn't hold in case of clipping.
2023-09-22 14:42:05 +02:00
badlogic
d9b640254a
[godot] Improve debug renderer.
2023-09-20 14:43:58 +02:00
Jordan Schidlowsky
96e25be436
Squashed commit of the following: ( #2332 )
...
commit 646078160b26979bc32093035602b7de12d9406b
Author: Jordan Schidlowsky <jordanschidlowsky@gmail.com>
Date: Mon Aug 7 15:34:37 2023 -0600
revert SCsub
commit 6f388c3d4ce86944b3801fbd418bfc8a1dfe4e02
Author: Jordan Schidlowsky <jordanschidlowsky@gmail.com>
Date: Fri Aug 4 13:11:56 2023 -0600
rename
commit 20eeeb5743a6687c189f61a91f14fcfcd179d0d8
Author: Jordan Schidlowsky <jordanschidlowsky@gmail.com>
Date: Fri Aug 4 13:11:11 2023 -0600
fix
commit 6ef0c3d0698c851349f1cd5b44e06296cfc90011
Merge: 26c02da4a 94d043b56
Author: Jordan Schidlowsky <jordanschidlowsky@gmail.com>
Date: Fri Aug 4 13:09:54 2023 -0600
Merge branch '4.1' into feature4.1/godot-performance-improvements
commit 26c02da4af1f7d518bbdc8c63a6c42f864b781b0
Merge: 0ce2ab656 002276351
Author: Jordan Schidlowsky <jordanschidlowsky@gmail.com>
Date: Thu Aug 3 15:57:49 2023 -0600
Merge remote-tracking branch 'upstream/4.1' into feature4.1/godot-performance-improvements
commit 0ce2ab656364fde29063b8b8ccee36dd7f4583fd
Author: Jordan Schidlowsky <jordanschidlowsky@gmail.com>
Date: Thu Aug 3 12:11:51 2023 -0600
Performance improvement using SNAME, caches for find_bone find_slot, temporary string buffer support.
commit 8082dfcef08cd5fab0c6247410c9177f0d6aa3bd
Author: Jordan Schidlowsky <jordanschidlowsky@gmail.com>
Date: Tue Jun 6 06:10:07 2023 -0600
Support audio path in SpineEventData
commit bf864c7ff1e03bb8c8826b6766d09958d0ee36e0
Merge: da5b318ee 0a14457f3
Author: Jason Knight <jason@winterpixel.com>
Date: Tue Nov 29 14:01:17 2022 -0600
Merge branch 'upstream-4.1' into winterpixel-main
commit da5b318eea0881f2cc9656fcf09a355fe7b05392
Author: Jordan Schidlowsky <jordanschidlowsky@gmail.com>
Date: Fri Nov 25 14:02:09 2022 -0600
fix incorrect ordering issue when applying custom materials to slot nodes
commit 000d22c5a8b160846c7742f181d9c7c6d816dd2a
Merge: 718643afc 8c3533835
Author: Brian Semrau <brian@winterpixel.com>
Date: Thu Nov 24 16:02:30 2022 -0500
Merge remote-tracking branch 'upstream/4.1' into winterpixel-main
commit 718643afc14b5f049961a4ec7b34ba9e8a3c6533
Merge: 2b743bd1d d8396435d
Author: Brian Semrau <brian@winterpixel.com>
Date: Tue Oct 25 16:03:10 2022 -0400
Merge remote-tracking branch 'upstream/4.1' into winterpixel-main
commit 2b743bd1dfa63f72169a36f2c43e43a2e2038f26
Author: Jordan Schidlowsky <jordanschidlowsky@gmail.com>
Date: Thu Oct 13 12:37:04 2022 -0600
Adding .o to ignore
commit 6ad70aaf162b7423c935b2baaff11c8bfbf2120b
Author: Brian Semrau <brian@winterpixel.com>
Date: Wed Oct 12 13:59:32 2022 -0400
Allow building by just adding to a modules folder
2023-09-04 10:58:43 +02:00
Mario Zechner
4047f1ba07
Updated license headers.
2023-07-31 13:29:16 +02:00
Mario Zechner
15b61f3101
[godot] Fix compilation error in SpineSprite, add 4.1 GitHub workflow.
2023-07-14 13:46:20 +02:00
Mario Zechner
983220d3bc
[godot] Fix refactoring compilation errors.
2023-02-17 16:50:20 +01:00
Mario Zechner
55b6f43d9b
[godot] Added mesh based renderer, slower than cavvas_item_add_triangle_array due to no batching.
2023-02-17 11:17:15 +01:00
Mario Zechner
b80b57b380
[godot] FIx 4.0 compilation errors.
2023-02-16 13:51:00 +01:00
badlogic
1aed9a2aa4
[godot] Fix 3.5 compilation after renderer reworking.
2023-02-14 15:37:21 +01:00
Mario Zechner
2751d76426
[godot] Closes #2245 , adds mesh based rendering for Godot 4.0, improving performance 100x fold.
2023-02-13 14:55:33 +01:00
Mario Zechner
7a861dc605
[godot] Preparation work for mesh-based rendering.
2023-02-13 06:49:56 +01:00
Mario Zechner
7ef8ca40f4
[godot] Closes #2239 , debug rendering of root bone.
2023-02-10 23:19:57 +01:00
badlogic
2113751ac8
[godot] Closes #2119 , meshes are now drawn on window resizing as well.
2023-02-07 17:57:41 +01:00
Mario Zechner
c14b00d1c4
[godot] Closes #2232 , do not render slots attached to inactive bones.
2023-01-30 11:24:42 +01:00
Mario Zechner
0a14457f36
[godot] Apply light mask of sprite to mesh instances, closes #2197 .
2022-11-29 09:47:45 +01:00
Jordan Schidlowsky
e83b9c1714
fix incorrect ordering issue when applying custom materials to slot nodes ( #2205 )
2022-11-29 09:23:15 +01:00
Mario Zechner
669af9f6bb
Formatting.
2022-09-15 08:37:55 +02:00
Mario Zechner
34534d0e90
[godot] Call computeWorldVertices before fetching region. See #2154
2022-09-15 08:09:48 +02:00
Mario Zechner
933ccbba62
[godot] Fix compilation for latest 4.0 master commit.
2022-09-03 12:52:50 +02:00
Mario Zechner
62f0c6deca
[godot] Fixes for latest Godot 4.0, closes #2133 , fix setters.
2022-08-06 19:26:08 +02:00
Mario Zechner
ffe4ad8538
[godot] Fix compilation for 3.x, update to 3.5-stable
2022-08-06 18:59:27 +02:00
Mario Zechner
1c150203ab
[godot] Fixes for latest 4.0 commits, automatically install MoltenVK on macOS via setup.sh
2022-07-29 14:57:56 +02:00
Mario Zechner
72c547bd01
[godot] Closes #2117 , setting meshes of inactive slots invisible breaks draw order.
...
Since we clear the mesh instances, we can refrain from setting them invisible.
2022-07-26 10:06:05 +02:00
Mario Zechner
3e1b2b10cb
[godot] Added single skin previewing for SpineSprite in editor.
2022-07-25 15:16:19 +02:00