Recast: default to watershed

Larger levels require watershed as some complex geometry (buildings with multiple floors) will exceed the maximum number of allowed sweep scans when building regions.
This commit is contained in:
Kawe Mazidjatari 2024-10-13 21:38:04 +02:00
parent 9f430a455e
commit 1491f6eaac

View File

@ -278,7 +278,7 @@ void Editor::resetCommonSettings()
m_vertsPerPoly = 6;
m_detailSampleDist = 6.0f;
m_detailSampleMaxError = 1.0f;
m_partitionType = EDITOR_PARTITION_LAYERS;
m_partitionType = EDITOR_PARTITION_WATERSHED;
initTraverseMasks();
initTraverseTableParams();