You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Change LiveLinkHub to use the card layout Fix crash caused by null structdetailsview Fix output log tab not being spawned when layout is restored Clean up UI #rb jason.walter #jira UE-203919 [CL 30803792 by jeremie roy in ue5-main branch]
43 lines
1003 B
C++
43 lines
1003 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "Commandlets/Commandlet.h"
|
|
#include "Modules/ModuleManager.h"
|
|
#include "ILiveLinkHubModule.h"
|
|
|
|
#include "LiveLinkHubCommandlet.generated.h"
|
|
|
|
UCLASS()
|
|
class ULiveLinkHubCommandlet : public UCommandlet
|
|
{
|
|
public:
|
|
GENERATED_BODY()
|
|
|
|
ULiveLinkHubCommandlet()
|
|
{
|
|
LogToConsole = false;
|
|
FastExit = true;
|
|
}
|
|
|
|
/** Runs the commandlet */
|
|
virtual int32 Main(const FString& Params) override
|
|
{
|
|
PRIVATE_GAllowCommandletRendering = true;
|
|
|
|
// Work around the CB file asset data source being disabled in commandlets.
|
|
if (IModuleInterface* AssetDataSourceModule = FModuleManager::Get().GetModule("ContentBrowserAssetDataSource"))
|
|
{
|
|
PRIVATE_GIsRunningCommandlet = false;
|
|
AssetDataSourceModule->StartupModule();
|
|
PRIVATE_GIsRunningCommandlet = true;
|
|
}
|
|
|
|
FModuleManager::Get().LoadModule("OutputLog");
|
|
|
|
FModuleManager::Get().LoadModuleChecked<ILiveLinkHubModule>("LiveLinkHub").StartLiveLinkHub();
|
|
|
|
return 0;
|
|
}
|
|
};
|