Update to latest engine

This commit is contained in:
2026-05-05 19:12:03 -04:00
parent ac4302141c
commit b5e121f884
4 changed files with 7 additions and 5 deletions

View File

@@ -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;
}
}

View File

@@ -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<FString> Errors;
if (Resource)
{

View File

@@ -1,5 +1,6 @@
#pragma once
#include <string_view>
#include "CoreMinimal.h"
#include "CoreUObject.h"
#include "Containers/Deque.h"

View File

@@ -13,6 +13,7 @@
#include <cstdlib>
#include <cassert>
#include <cstring>
#include <string>
#include <string_view>
#include <type_traits>