mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-05 18:26:52 +08:00
[ue4] Updated to 4.18, fixed compilation error in RuntimeMEshComponentDetails.cpp, kept compatibility with older versions.
This commit is contained in:
parent
3006353c8c
commit
ed24d3b33f
@ -85,6 +85,7 @@
|
|||||||
* Added support for two color tinting. All base materials, e.g. SpineUnlitNormalMaterial, now do proper two color tinting. No material parameters have changed.
|
* 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!
|
* 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.
|
* spine-c is now exposed from the plugin shared library on Windows via __declspec.
|
||||||
|
* Updated to Unreal Engine 4.18
|
||||||
|
|
||||||
## C#
|
## C#
|
||||||
* **Breaking changes**
|
* **Breaking changes**
|
||||||
|
|||||||
@ -25,7 +25,11 @@ void FRuntimeMeshComponentDetails::CustomizeDetails( IDetailLayoutBuilder& Detai
|
|||||||
const FText ConvertToStaticMeshText = LOCTEXT("ConvertToStaticMesh", "Create StaticMesh");
|
const FText ConvertToStaticMeshText = LOCTEXT("ConvertToStaticMesh", "Create StaticMesh");
|
||||||
|
|
||||||
// Cache set of selected things
|
// Cache set of selected things
|
||||||
|
#if ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION < 18
|
||||||
SelectedObjectsList = DetailBuilder.GetDetailsView().GetSelectedObjects();
|
SelectedObjectsList = DetailBuilder.GetDetailsView().GetSelectedObjects();
|
||||||
|
#else
|
||||||
|
SelectedObjectsList = DetailBuilder.GetDetailsView()->GetSelectedObjects();
|
||||||
|
#endif
|
||||||
|
|
||||||
RuntimeMeshCategory.AddCustomRow(ConvertToStaticMeshText, false)
|
RuntimeMeshCategory.AddCustomRow(ConvertToStaticMeshText, false)
|
||||||
.NameContent()
|
.NameContent()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user