diff --git a/Plugins/UEWingman/Source/UEWingman/Handlers/GraphNode_Add.h b/Plugins/UEWingman/Source/UEWingman/Handlers/GraphNode_Add.h index c139fb9c..ef451e43 100644 --- a/Plugins/UEWingman/Source/UEWingman/Handlers/GraphNode_Add.h +++ b/Plugins/UEWingman/Source/UEWingman/Handlers/GraphNode_Add.h @@ -76,18 +76,18 @@ public: } // Execute all. - for (const FSpawnNodeEntry &Entry : Entries) + for (const FSpawnNodeEntry &SpawnEntry : Entries) { - UEdGraphNode* NewNode = Entry.Action->Execute(FVector2D(Entry.PosX, Entry.PosY)); + UEdGraphNode* NewNode = SpawnEntry.Action->Execute(FVector2D(SpawnEntry.PosX, SpawnEntry.PosY)); if (NewNode) { - WingOut::Stdout.Printf(TEXT("Spawned: %s\n"), *Entry.Type); + WingOut::Stdout.Printf(TEXT("Spawned: %s\n"), *SpawnEntry.Type); WingGraphExport Export(NewNode, false, true); WingOut::Stdout.Print(Export.GetOutput()); } else { - WingOut::Stdout.Printf(TEXT("Failed: %s\n\n"), *Entry.Type); + WingOut::Stdout.Printf(TEXT("Failed: %s\n\n"), *SpawnEntry.Type); continue; } } diff --git a/Plugins/UEWingman/Source/UEWingman/Handlers/Material_Compile.h b/Plugins/UEWingman/Source/UEWingman/Handlers/Material_Compile.h index 14c2ad37..b6545fb2 100644 --- a/Plugins/UEWingman/Source/UEWingman/Handlers/Material_Compile.h +++ b/Plugins/UEWingman/Source/UEWingman/Handlers/Material_Compile.h @@ -38,7 +38,7 @@ public: MaterialObj->ForceRecompileForRendering(); // Wait for compilation to finish, then check for errors - FMaterialResource* Resource = MaterialObj->GetMaterialResource(GMaxRHIFeatureLevel); + FMaterialResource* Resource = MaterialObj->GetMaterialResource(GetFeatureLevelShaderPlatform(GMaxRHIFeatureLevel)); TArray Errors; if (Resource) { diff --git a/Source/Integration/AnimQueue.h b/Source/Integration/AnimQueue.h index 1ac6702d..ea7a097d 100644 --- a/Source/Integration/AnimQueue.h +++ b/Source/Integration/AnimQueue.h @@ -1,5 +1,6 @@ #pragma once +#include #include "CoreMinimal.h" #include "CoreUObject.h" #include "Containers/Deque.h" diff --git a/luprex/ext/base-buffer.hpp b/luprex/ext/base-buffer.hpp index 6f935011..c1f12438 100644 --- a/luprex/ext/base-buffer.hpp +++ b/luprex/ext/base-buffer.hpp @@ -13,6 +13,7 @@ #include #include #include +#include #include #include