Files
UnrealEngineUWP/Engine/Source/Runtime/Navmesh/Private/DetourTileCache/DetourTileCacheRegion.cpp
Aris Theophanidis 6927fd9025 [Navmesh] When building using chunky region partitioning, include remaining non dividable cells into the last split.
This prevents having one cell wide region strips and one cell regions and the 'Region Chunk Splits' setting is now correctly respected.
Before this change, a region split on 2 could result into 3 splits (ex: a 17 cells wide tile would have been divided into 8-8-1 splits, with this change it will be 8-9).
#rb Mikko.Mononen
#jira FORT-420970
#robomerge FnMain
#preflight 6179bae1d65ac900014a5a83

[CL 17952948 by Aris Theophanidis in ue5-main branch]
2021-10-27 17:59:57 -04:00

37 KiB