You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Fix lingering hard reference to deleted landscapes being held by landscape info objects. #rb jonathan.bard [CL 36758879 by roey borsteinas in 5.5 branch]
30 lines
881 B
C++
30 lines
881 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#include "LandscapeInfo.h"
|
|
#include "LandscapeLayerInfoObject.h"
|
|
#include "LandscapeProxy.h"
|
|
|
|
#include UE_INLINE_GENERATED_CPP_BY_NAME(LandscapeInfo)
|
|
|
|
LANDSCAPE_API FLandscapeInfoLayerSettings::FLandscapeInfoLayerSettings(ULandscapeLayerInfoObject* InLayerInfo, class ALandscapeProxy* InProxy)
|
|
: LayerInfoObj(InLayerInfo)
|
|
, LayerName((InLayerInfo != NULL) ? InLayerInfo->LayerName : NAME_None)
|
|
#if WITH_EDITORONLY_DATA
|
|
, ThumbnailMIC(NULL)
|
|
, Owner(InProxy)
|
|
, DebugColorChannel(0)
|
|
, bValid(false)
|
|
#endif
|
|
{}
|
|
|
|
LANDSCAPE_API FLandscapeInfoLayerSettings::FLandscapeInfoLayerSettings(FName InPlaceholderLayerName, ALandscapeProxy* InProxy)
|
|
: LayerInfoObj(nullptr)
|
|
, LayerName(InPlaceholderLayerName)
|
|
#if WITH_EDITORONLY_DATA
|
|
, ThumbnailMIC(nullptr)
|
|
, Owner(InProxy)
|
|
, DebugColorChannel(0)
|
|
, bValid(false)
|
|
#endif
|
|
{
|
|
} |