161 Commits

Author SHA1 Message Date
Mario Zechner
2022713bd2 [c][cpp] Formatter pass. 2022-03-25 13:31:58 +01:00
badlogic
6ff8b8d415 [ue4][cpp] Fix TextureFilter name conflict in UE4 unity builds
We renamed TextureFilter to SpineTextureFilter in UE4 builds to resolve the name collision with UE4's TextureFilter.
2022-03-25 12:32:44 +01:00
badlogic
8910c458e8 [ue4][cpp] Switched to IWYU build for much improved rebuild times.
Cleaned up spine-cpp and removed UE4 specific code.
2022-03-25 12:20:57 +01:00
badlogic
5adf03afcf [ue4] Better version check, fixes #2045 2022-03-24 14:30:15 +01:00
badlogic
5ff511d6fb Merge branch '4.0' into 4.1-beta 2021-12-23 17:05:22 +01:00
badlogic
d065c88ca8 [ue4] Fixes #2006
Users project recursively generates UIs, which leads to extremely long resource names. Eventually, assigning such a name to a brush results in an assertion being triggered, as the name is too long. Fixed on our end by creating a custom resource name instead of reusing the name of the material. User still has to clean-up their code.
2021-12-23 17:04:57 +01:00
badlogic
85514b729d [ue4] Fix version check, update assets. 2021-12-23 15:48:03 +01:00
badlogic
ccc450f624 [ue4] Fix up compilation errors. 2021-12-23 15:30:20 +01:00
Nathan Sweet
96a998b82d Spine Runtimes License Agreement update (September 24, 2021). 2021-09-24 18:18:19 -10:00
badlogic
2824e22846 [ue4] Fix offset calculation of widgets, closes #1914 2021-07-23 16:01:17 +02:00
badlogic
fbfbb9a3f2 [ue4] Fix version check of binary files. 2021-07-23 15:59:32 +02:00
badlogic
0dcdfd411d [ue4] Prevent clang-format from reordering includes
.generated.h files must come last, but there's no way to specify this to clang-format.
2021-07-01 12:13:15 +02:00
badlogic
fa2dd77305 [ue4] Revert header order imposed by spotless. 2021-07-01 11:46:54 +02:00
badlogic
87658c7d31 [c][cpp] Spotless formatter 2021-07-01 10:40:18 +02:00
badlogic
7b0d71568b [ue4] Set mixes on native Spine data upon retrieval via Atlas. Closes #1772 2021-06-19 15:43:33 +02:00
badlogic
50de8ea77c [ue4] Added USpineSkeletonComponent::SetSlotColor(). Closes #1904. 2021-06-19 15:06:00 +02:00
badlogic
5ab00ab901 [ue4] Update assets to 4.0, fix version check. 2021-04-09 15:17:32 +02:00
Harald Csaszar
ac23599638 Merge branch '3.8' into 4.0-beta 2021-02-25 12:00:57 +01:00
Harald Csaszar
0e5d7adf1c [ue4] Added preview skin / initial skin functionality for USpineWidget. Closes #1845. 2021-02-25 11:58:40 +01:00
Harald Csaszar
dbb10f36f6 Merge branch '3.8' into 4.0-beta 2021-01-21 14:54:00 +01:00
Harald Csaszar
9032040503 [ue4] Generated normals are now correctly being flipped at back-faces. Closes #1830. 2021-01-14 20:42:43 +01:00
Harald Csaszar
a088270186 [ue4] Modifying parent materials (of the four blend modes) updates material instances again. Closes #1791. 2021-01-12 20:18:23 +01:00
badlogic
59f1fbeaf7 Merge branch '3.8' into 4.0-beta 2020-08-26 15:54:20 +02:00
badlogic
e31b7d581f [ue4] Closes #1671, only import Spine specific .json files. 2020-08-26 15:53:34 +02:00
badlogic
3cace69884 Merge branch '3.8' into 4.0-beta 2020-08-26 15:30:24 +02:00
badlogic
402ef55141 [ue4] Closes #1707 and related issues
UspineSkeletonDataAsset would only retain mapping from one spine::Atlas to a single spine::SkeletonData internally. If two SkeletonAnimationComponents reference the same skeleton data asset, but different (or invalid atlases), the old skeleton data gets destroyed. If the atlas and skeleton data don't match, then a previously created animation component may now hold on to a reference to destroyed skeleton data, triggering a crash.
2020-08-26 15:29:37 +02:00
Mario Zechner
2465cef151 Merge branch '3.8' into 3.9-beta 2020-03-30 16:22:39 +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
badlogic
934bec56b7 Merge branch '3.8' into 3.9-beta 2019-12-20 12:27:35 +01:00
badlogic
b67bf992a0 Single bone IK fix and license header update. Closes #1580, closes #1581. 2019-12-20 12:20:46 +01:00
badlogic
c0699e23a0 [ue4] Added blueprint node for SpineWidget and SpineSkeletonComponent. Expects an array of skin names. Creates a new spine::Skin internally from those skins and applies it to the skeleton. Closes #1416, closes #1534. 2019-12-19 16:02:46 +01:00
badlogic
8e586b6d38 Merge branch '3.8' into 3.9-beta 2019-11-21 16:36:41 +01:00
badlogic
11d32da100 [ue4] Subclass FSlateBrush directly and do not clean up resources manually. The FSlateMaterialBrush implementation in UE 4.22 and below wrongfully frees resources it should not, leading to flickering artifacts on mobile. This was fixed in UE 4.23.1+. The fix in this commits emulates the engine source fix for lower UE4 versions. Closes #1458. 2019-11-21 16:35:55 +01:00
badlogic
93bc9dcf4e Merge branch '3.8' into 3.9-beta 2019-11-19 15:28:47 +01:00
badlogic
8362074681 [ue4] Null check for track entry at specific index. Closes #1548. 2019-11-19 15:28:32 +01:00
badlogic
bc2816867e Merge branch '3.8' into 3.9-beta 2019-10-31 19:27:56 +01:00
badlogic
b43fbdd4ce [ue4] Fix private include in SpineWidget.h. Closes #1538. 2019-10-31 17:55:57 +01:00
badlogic
cc840910ce Merge branch '3.8' into 3.9-beta 2019-10-09 14:48:32 +02:00
badlogic
b4a1f6978b [ue4] Added missing null check in bone driver component. Closes #1517. 2019-10-09 14:48:16 +02:00
badlogic
2ea060ed7a Merge branch '3.8' into 3.9-beta 2019-10-09 14:25:35 +02:00
badlogic
60f600ac7a [ue4] Materials on SkeletonRendererComponent are now blueprint read and writeable. This allows setting dynamic material instances at runtime. Closes #1516. 2019-10-09 14:24:37 +02:00
badlogic
3c6feff577 [ue4] Remove SpineWidget Scale property in favor of full support for the widget transform properties. Closes #1496. 2019-09-18 15:39:12 +02:00
badlogic
6f0cf68681 [ue4] Clipping slot wasn't checked in all early loop exits. Closes #1494. 2019-09-16 15:25:54 +02:00
NathanSweet
842dffbd83 [all] Source clean up, formatting, and tabs for indentation. 2019-08-27 15:57:14 +02:00
badlogic
706c01de00 [ue4] Closes #1425, scratch buffer in renderer would eventually also turn into output buffer of clipper due to incorrect assignment of array. 2019-08-02 16:16:21 +02:00
badlogic
698715789f [ue4] Fixed #1421, SlateIndex is 32-bit on the desktop and 16-bit on mobile. Memcpy assumed 32-bit. 2019-07-30 15:33:10 +02:00
badlogic
f6f3ed9542 [ue4] SpineSkeletonRendererComponent explicitely generates normals now. Added SpineLitNormalMaterial, a masked material for use with UE4s lighting. 2019-06-26 16:19:58 +02:00
badlogic
48fd1024c0 [ue4] Fixed re-import of atlas page textures. 2019-06-06 18:48:07 +02:00
badlogic
df310af0bc [ue4] Added warning if data version can't be loaded by runtime version. Fixed up skin bone requirements in renderer. Cleaned up examples. 2019-06-06 17:55:15 +02:00