Fix Compile Error

This commit is contained in:
2025-07-18 01:54:28 +02:00
parent 65c32d9240
commit 1f35fcbcf5
3 changed files with 4 additions and 6 deletions

View File

@ -3,12 +3,11 @@
#pragma once #pragma once
#include "CoreMinimal.h" #include "CoreMinimal.h"
#include "Assets/DTFluxModelAsset.h"
#include "Engine/DeveloperSettings.h" #include "Engine/DeveloperSettings.h"
#include "DTFluxGeneralSettings.generated.h" #include "DTFluxGeneralSettings.generated.h"
class UAvaRundown; class UAvaRundown;
// class UDTFluxModelAsset; class UDTFluxModelAsset;
/** /**
* *
*/ */

View File

@ -375,9 +375,9 @@ void UDTFluxRemoteSubsystem::LoadRundownFromSettings()
// Décharger l'ancien rundown d'abord // Décharger l'ancien rundown d'abord
UnloadCurrentRundown(); UnloadCurrentRundown();
RundownAsset = RundownAsset.LoadSynchronous();
// Charger le nouveau rundown // Charger le nouveau rundown
if (LoadRundown(RundownAsset)) if ( RundownAsset.IsValid())
{ {
UE_LOG(logDTFluxRemote, Log, TEXT("Successfully loaded rundown from settings: %s"), *RundownAsset.ToString()); UE_LOG(logDTFluxRemote, Log, TEXT("Successfully loaded rundown from settings: %s"), *RundownAsset.ToString());
} }
@ -453,5 +453,5 @@ bool UDTFluxRemoteSubsystem::ProcessCommandData(const FString& JsonString)
return false; return false;
} }
void UDTFluxRemoteSubsystem::LoadRundown

View File

@ -84,7 +84,6 @@ private:
void UnloadCurrentRundown(); void UnloadCurrentRundown();
void LoadRundownFromSettings(); void LoadRundownFromSettings();
void LoadRundown();
#if WITH_EDITOR #if WITH_EDITOR
FDelegateHandle SettingsRundownChangedHandle; FDelegateHandle SettingsRundownChangedHandle;