diff --git a/CHANGELOG.md b/CHANGELOG.md index c7341923f..fbe7d9d31 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -84,6 +84,7 @@ * Added support for two color tinting. All base materials, e.g. SpineUnlitNormalMaterial, now do proper two color tinting. No material parameters have changed. * Updated to Unreal Engine 4.16.1. Note that 4.16 has a regression which will make it impossible to compile plain .c files! * spine-c is now exposed from the plugin shared library on Windows via __declspec. + * `SkeletonRenderComponent` now generates collision meshes by default. ## C# * **Breaking changes** diff --git a/spine-ue4/Content/Test/Blueprints/Cube_Blueprint.uasset b/spine-ue4/Content/Test/Blueprints/Cube_Blueprint.uasset new file mode 100644 index 000000000..235893e9a Binary files /dev/null and b/spine-ue4/Content/Test/Blueprints/Cube_Blueprint.uasset differ diff --git a/spine-ue4/Content/Test/Blueprints/TouchClick.uasset b/spine-ue4/Content/Test/Blueprints/TouchClick.uasset new file mode 100644 index 000000000..9c478dd09 Binary files /dev/null and b/spine-ue4/Content/Test/Blueprints/TouchClick.uasset differ diff --git a/spine-ue4/Content/Test/Blueprints/TouchPlayer.uasset b/spine-ue4/Content/Test/Blueprints/TouchPlayer.uasset new file mode 100644 index 000000000..bb4d02341 Binary files /dev/null and b/spine-ue4/Content/Test/Blueprints/TouchPlayer.uasset differ diff --git a/spine-ue4/Content/Test/Blueprints/TwoColor_Blueprint.uasset b/spine-ue4/Content/Test/Blueprints/TwoColor_Blueprint.uasset index 597a81011..79d88c4de 100644 Binary files a/spine-ue4/Content/Test/Blueprints/TwoColor_Blueprint.uasset and b/spine-ue4/Content/Test/Blueprints/TwoColor_Blueprint.uasset differ diff --git a/spine-ue4/Content/Test/Test.umap b/spine-ue4/Content/Test/Test.umap index f5fc98e8c..ff900fe8f 100644 Binary files a/spine-ue4/Content/Test/Test.umap and b/spine-ue4/Content/Test/Test.umap differ diff --git a/spine-ue4/Plugins/SpinePlugin/Source/SpinePlugin/Private/SpineSkeletonRendererComponent.cpp b/spine-ue4/Plugins/SpinePlugin/Source/SpinePlugin/Private/SpineSkeletonRendererComponent.cpp index 8a7f1d2ee..613b2d867 100644 --- a/spine-ue4/Plugins/SpinePlugin/Source/SpinePlugin/Private/SpineSkeletonRendererComponent.cpp +++ b/spine-ue4/Plugins/SpinePlugin/Source/SpinePlugin/Private/SpineSkeletonRendererComponent.cpp @@ -178,7 +178,7 @@ void USpineSkeletonRendererComponent::Flush (int &Idx, TArray &Vertices verts.Add(FRuntimeMeshVertexTripleUV(Vertices[i], FVector(), FVector(), Colors[i], Uvs[i], FVector2D(Colors2[i].X, Colors2[i].Y), FVector2D(Colors2[i].Z, 0))); } - CreateMeshSection(Idx, verts, Indices); + CreateMeshSection(Idx, verts, Indices, true); // CreateMeshSection(Idx, Vertices, Indices, TArray(), Uvs, darkRG, Colors, TArray(), false); Vertices.SetNum(0);