You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
[PCG] Remove the ensure when merging world actor.
* We will need to address any mismatch if we do more stuff with merged world actors. #rnx #rb trivial [CL 28688112 by adrien logut in ue5-main branch]
This commit is contained in:
@@ -189,7 +189,8 @@ void APCGWorldActor::GetGridGuids(PCGHiGenGrid::FSizeToGuidMap& OutSizeToGuidMap
|
||||
void APCGWorldActor::MergeFrom(APCGWorldActor* OtherWorldActor)
|
||||
{
|
||||
check(OtherWorldActor && this != OtherWorldActor);
|
||||
ensure(PartitionGridSize == OtherWorldActor->PartitionGridSize && bUse2DGrid == OtherWorldActor->bUse2DGrid && GridGuids.OrderIndependentCompareEqual(OtherWorldActor->GridGuids));
|
||||
// TODO: Is this really important to check? It seems it can fail, cf FORT-664546. We might want to do something special about it.
|
||||
// ensure(PartitionGridSize == OtherWorldActor->PartitionGridSize && bUse2DGrid == OtherWorldActor->bUse2DGrid && GridGuids.OrderIndependentCompareEqual(OtherWorldActor->GridGuids));
|
||||
LandscapeCacheObject->TakeOwnership(OtherWorldActor->LandscapeCacheObject);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user