From ee4dd8377c5a08c602f405a1b3ce15ed05869640 Mon Sep 17 00:00:00 2001 From: Chuck Noble Date: Sat, 6 Dec 2025 22:41:22 -0500 Subject: [PATCH] Updated plugin to UE 5.7 --- Plugins/MaxQ/MaxQ.uplugin | 2 +- .../SpiceUncooked/Private/K2Node_OutWithSelectorOp.cpp | 7 ++++--- Source/Spice.Target.cs | 2 +- Source/SpiceEditor.Target.cs | 3 +-- Spice.uproject | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Plugins/MaxQ/MaxQ.uplugin b/Plugins/MaxQ/MaxQ.uplugin index 4e6f166..c4cf1dc 100644 --- a/Plugins/MaxQ/MaxQ.uplugin +++ b/Plugins/MaxQ/MaxQ.uplugin @@ -2,7 +2,7 @@ "FileVersion": 3, "Version": 8, "VersionName": "1.0069.0", - "EngineVersion": "5.6", + "EngineVersion": "5.7", "FriendlyName": "MaxQ Spaceflight Toolkit", "Description": "MaxQ is powered by the SPICE Toolkit software released by NASA/JPL/NAIF, which is the premier Space Flight toolset for space flight planning and analysis.", "Category": "Spaceflight", diff --git a/Plugins/MaxQ/Source/SpiceUncooked/Private/K2Node_OutWithSelectorOp.cpp b/Plugins/MaxQ/Source/SpiceUncooked/Private/K2Node_OutWithSelectorOp.cpp index e7e3f17..78a8a4d 100644 --- a/Plugins/MaxQ/Source/SpiceUncooked/Private/K2Node_OutWithSelectorOp.cpp +++ b/Plugins/MaxQ/Source/SpiceUncooked/Private/K2Node_OutWithSelectorOp.cpp @@ -23,6 +23,7 @@ #include "BlueprintNodeSpawner.h" #include "K2Node_CallFunction.h" #include "Textures/SlateIcon.h" +#include "UObject/UObjectGlobals.h" using namespace ENodeTitleType; @@ -64,7 +65,7 @@ void UK2Node_OutWithSelectorOp::AllocateDefaultPins() UEdGraphPin* errorMessagePin = CreatePin(EGPD_Output, UEdGraphSchema_K2::PC_String, errorMessage_PinName); errorMessagePin->PinToolTip = TEXT("An error message, if the action fails"); - static UEnum* ComponentSelectorEnum = FindObject(FTopLevelAssetPath(TEXT("/Script/SpiceUncooked.EK2_ComponentSelector")), /*ExactClass*/true); + static UEnum* ComponentSelectorEnum = FindObject(FTopLevelAssetPath(TEXT("/Script/SpiceUncooked.EK2_ComponentSelector")), EFindObjectFlags::ExactClass); if (ensure(IsValid(ComponentSelectorEnum))) { auto selector = CreatePin(EGPD_Input, UEdGraphSchema_K2::PC_Byte, ComponentSelectorEnum, selector_PinName); @@ -290,7 +291,7 @@ bool UK2Node_OutWithSelectorOp::MatchMe(OperationType& operation, FEdGraphPinTyp EK2_ComponentSelector UK2Node_OutWithSelectorOp::selectorPinValue() const { - static UEnum* ComponentSelectorEnum = FindObject(FTopLevelAssetPath(TEXT("/Script/SpiceUncooked.EK2_ComponentSelector")), /*ExactClass*/true); + static UEnum* ComponentSelectorEnum = FindObject(FTopLevelAssetPath(TEXT("/Script/SpiceUncooked.EK2_ComponentSelector")), EFindObjectFlags::ExactClass); if (ensure(IsValid(ComponentSelectorEnum))) { @@ -323,4 +324,4 @@ void UK2Node_OutWithSelectorOp::NotifyConnectionChanged(UEdGraphPin* Pin, UEdGra NotifyPinConnectionListChanged(Pin); } -#undef LOCTEXT_NAMESPACE \ No newline at end of file +#undef LOCTEXT_NAMESPACE diff --git a/Source/Spice.Target.cs b/Source/Spice.Target.cs index d6191c1..fe03450 100644 --- a/Source/Spice.Target.cs +++ b/Source/Spice.Target.cs @@ -13,7 +13,7 @@ public class SpiceTarget : TargetRules public SpiceTarget(TargetInfo Target) : base(Target) { Type = TargetType.Game; - DefaultBuildSettings = BuildSettingsVersion.V5; + DefaultBuildSettings = BuildSettingsVersion.V6; IncludeOrderVersion = EngineIncludeOrderVersion.Latest; CppStandard = CppStandardVersion.Cpp20; diff --git a/Source/SpiceEditor.Target.cs b/Source/SpiceEditor.Target.cs index 62b72e5..6334502 100644 --- a/Source/SpiceEditor.Target.cs +++ b/Source/SpiceEditor.Target.cs @@ -22,11 +22,10 @@ public class SpiceEditorTarget : TargetRules public SpiceEditorTarget(TargetInfo Target) : base(Target) { Type = TargetType.Editor; - DefaultBuildSettings = BuildSettingsVersion.V5; + DefaultBuildSettings = BuildSettingsVersion.V6; IncludeOrderVersion = EngineIncludeOrderVersion.Latest; CppStandard = CppStandardVersion.Cpp20; - bUseFastPDBLinking = false; bPublicSymbolsByDefault = true; // <- Forced to true on Windows anyways WindowsPlatform.bStripUnreferencedSymbols = false; diff --git a/Spice.uproject b/Spice.uproject index c7150d0..a92c831 100644 --- a/Spice.uproject +++ b/Spice.uproject @@ -1,6 +1,6 @@ { "FileVersion": 3, - "EngineAssociation": "5.6", + "EngineAssociation": "5.7", "Category": "", "Description": "", "Modules": [