You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Fixe build errors
#jira UE-87272 #rb none [CL 11086841 by peter tarasenko in Dev-VirtualProduction branch]
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
#include "Modules/ModuleInterface.h"
|
||||
|
||||
class IDisplayClusterProjectionPolicyFactory;
|
||||
|
||||
class UStaticMeshComponent;
|
||||
|
||||
class IDisplayClusterProjection : public IModuleInterface
|
||||
{
|
||||
|
||||
@@ -112,10 +112,9 @@ bool FMPCDIModule::SetStaticMeshWarp(const IMPCDI::FRegionLocator& InRegionLocat
|
||||
|
||||
if (InRegionLocator.RegionIndex >= 0)
|
||||
{
|
||||
if (MPCDIData.Num() > InRegionLocator.FileIndex)
|
||||
if (MPCDIData.Num() > InRegionLocator.FileIndex && MPCDIData[InRegionLocator.FileIndex].IsValid())
|
||||
{
|
||||
FMPCDIData& Dst = *MPCDIData[InRegionLocator.FileIndex];
|
||||
FMPCDIRegion* DstRegion = Dst.GetRegion(InRegionLocator);
|
||||
FMPCDIRegion* DstRegion = MPCDIData[InRegionLocator.FileIndex]->GetRegion(InRegionLocator);
|
||||
if (DstRegion)
|
||||
{
|
||||
return DstRegion->SetStaticMeshWarp(MeshComponent, OriginComponent);
|
||||
|
||||
@@ -48,6 +48,6 @@ private:
|
||||
void ReleaseMPCDIData();
|
||||
|
||||
private:
|
||||
FCriticalSection DataGuard;
|
||||
mutable FCriticalSection DataGuard;
|
||||
TArray<TSharedPtr<FMPCDIData>> MPCDIData;
|
||||
};
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
#include "RHIUtilities.h"
|
||||
|
||||
class FMPCDIData;
|
||||
class UStaticMeshComponent;
|
||||
|
||||
class IMPCDI : public IModuleInterface
|
||||
{
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
#include "Engine/TextureRenderTarget2D.h"
|
||||
#include "ComposurePostMoves.h"
|
||||
#include "UObject/Package.h"
|
||||
#include "Engine/Texture2D.h"
|
||||
|
||||
#include "IPicpProjection.h"
|
||||
#include "IPicpMPCDI.h"
|
||||
|
||||
Reference in New Issue
Block a user