re-add the check of bUpdateNavigationInTick in UGeometryCollectionComponent::UpdateNavigationDataIfNeeded

[FYI] cedric.caillaud, aris.theophanidis

[CL 26417329 by michael bao in ue5-main branch]
This commit is contained in:
michael bao
2023-07-17 16:55:47 -04:00
parent bad1dd7430
commit 3c5570261a

View File

@@ -3355,7 +3355,7 @@ void UGeometryCollectionComponent::UpdateRenderSystemsIfNeeded(bool bDynamicColl
void UGeometryCollectionComponent::UpdateNavigationDataIfNeeded(bool bDynamicCollectionDirty)
{
if (bDynamicCollectionDirty)
if (bUpdateNavigationInTick && bDynamicCollectionDirty)
{
const UWorld* MyWorld = GetWorld();
if (MyWorld && MyWorld->IsGameWorld())