PostWorldOriginOffset now sets the location to the local 0.0f, 0.0f, 0.0f

This commit is contained in:
LuisPoveda 2022-10-31 15:52:56 +01:00 committed by bernat
parent 3a554aed12
commit 23fa58c4aa
1 changed files with 2 additions and 2 deletions

View File

@ -695,10 +695,10 @@ void AVegetationManager::OnLevelRemovedFromWorld(ULevel* InLevel, UWorld* InWorl
FreeTileCache(InLevel);
}
void AVegetationManager::PostWorldOriginOffset(UWorld*, FIntVector, FIntVector InDstOrigin)
void AVegetationManager::PostWorldOriginOffset(UWorld*, FIntVector, FIntVector)
{
TRACE_CPUPROFILER_EVENT_SCOPE(AVegetationManager::PostWorldOriginOffset);
InactivePoolTransform.SetLocation(FVector(InDstOrigin.X, InDstOrigin.Y, InDstOrigin.Z));
InactivePoolTransform.SetLocation(FVector(0.0f, 0.0f, 0.0f));
}
/********************************************************************************/