You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Work to provide ConditionalPopulateNavOctreeActor Delgate for the Nav System.
[at]Mieszko.Zielinski #ROBOMERGE-OWNER: ryan.gerleve #ROBOMERGE-AUTHOR: stephen.holmes #ROBOMERGE-SOURCE: CL 5284289 via CL 5284389 via CL 5292468 via CL 5292570 #ROBOMERGE-BOT: ENGINE (Main -> Dev-Networking) [CL 5300006 by stephen holmes in Dev-Networking branch]
This commit is contained in:
@@ -654,7 +654,7 @@ bool UNavigationSystemV1::ConditionalPopulateNavOctree()
|
||||
const bool bLegalActor = Actor && !Actor->IsPendingKill();
|
||||
if (bLegalActor)
|
||||
{
|
||||
UpdateActorAndComponentsInNavOctree(*Actor);
|
||||
ConditionalPopulateNavOctreeActor(*Actor);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -2977,6 +2977,11 @@ void UNavigationSystemV1::OnActorUnregistered(AActor* Actor)
|
||||
}
|
||||
}
|
||||
|
||||
void UNavigationSystemV1::ConditionalPopulateNavOctreeActor(AActor& Actor)
|
||||
{
|
||||
UpdateActorAndComponentsInNavOctree(Actor);
|
||||
}
|
||||
|
||||
void UNavigationSystemV1::FindElementsInNavOctree(const FBox& QueryBox, const FNavigationOctreeFilter& Filter, TArray<FNavigationOctreeElement>& Elements)
|
||||
{
|
||||
if (NavOctree.IsValid() == false)
|
||||
|
||||
Reference in New Issue
Block a user