diff --git a/README.md b/README.md index 671029fb..e7aaa7cf 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ Key features: Check the [Wiki](https://hiazma.atlassian.net/wiki/display/VAR) for plugin usage examples and installation notes. -Current version: **1.1 R 14** (UE 4.11-4.12) +Current version: **1.1 R 16** (UE 4.11-4.13) ![SCREENSHOT](SCREENSHOT.jpg) diff --git a/Source/VaRestEditorPlugin/Private/VaRest_BreakJson.cpp b/Source/VaRestEditorPlugin/Private/VaRest_BreakJson.cpp index 66cfeaaf..17a5d40b 100644 --- a/Source/VaRestEditorPlugin/Private/VaRest_BreakJson.cpp +++ b/Source/VaRestEditorPlugin/Private/VaRest_BreakJson.cpp @@ -4,6 +4,8 @@ #include "VaRestEditorPluginPrivatePCH.h" #include "VaRest_BreakJson.h" +#include "Runtime/Launch/Resources/Version.h" + #define LOCTEXT_NAMESPACE "VaRest_BreakJson" class FKCHandler_BreakJson : public FNodeHandlingFunctor @@ -55,7 +57,11 @@ class FKCHandler_BreakJson : public FNodeHandlingFunctor FBPTerminal* FieldNameTerm = Context.CreateLocalTerminal(ETerminalSpecification::TS_Literal); FieldNameTerm->Type.PinCategory = CompilerContext.GetSchema()->PC_String; +#if ENGINE_MINOR_VERSION >= 13 + FieldNameTerm->SourcePin = Pin; +#else FieldNameTerm->Source = Pin; +#endif FieldNameTerm->Name = FieldName; FieldNameTerm->TextLiteral = FText::FromString(FieldName); diff --git a/VaRestPlugin.uplugin b/VaRestPlugin.uplugin index b25a89c4..999a7897 100644 --- a/VaRestPlugin.uplugin +++ b/VaRestPlugin.uplugin @@ -2,8 +2,8 @@ "FileVersion" : 3, "FriendlyName" : "VaRest", - "Version" : 15, - "VersionName" : "1.1-r15", + "Version" : 16, + "VersionName" : "1.1-r16", "CreatedBy" : "Vladimir Alyamkin", "CreatedByURL" : "http://alyamkin.com", "EngineVersion" : "4.11.0",