Commit Graph
5 Commits
Author SHA1 Message Date
AdvocaiteandKarrz1 6a47ad9728 Core/MMaps: serialize tile loading per map, Recast/Detour overflow and cycle guards (#35)
- MMapManager: per-map load lock around loadMap, loadMapInstance and the unloads. Instance
  copies of a map are updated by different map threads and can share one mesh, so
  concurrent addTile/removeTile corrupted the tile link list (later connectExtLinks walk
  hung until the freeze detector aborted). loadedTiles is atomic.
- Detour getPathToNode: fails instead of looping forever on a parent-chain cycle.
- Recast (mmaps generator): sweep buffers sized by the real span count per row
  (upstream issue #317), sweep/region id overflow checks, degenerate polygon and
  out-of-range vertex index guards in RecastMesh.

Co-authored-by: Karrz1 <[email protected]>
2026-10-13 17:34:19 +08:00
jackpoz e5ba8f1e4d Core/MMAPs: Update recast
Update recast to https://github.com/recastnavigation/recastnavigation/commit/64385e9ed0822427bca5814d03a3f4c4d7a6db9f

(cherry picked from commit 1d7013e0e2758b1468a488dd17e3f5c5ce5f265d)

# Conflicts:
#	dep/PackageList.txt
2017-02-12 15:41:19 +01:00
jackpoz a48f8f4de9 Core/Dependencies: Update recast
Update recast to https://github.com/memononen/recastnavigation/commit/1dd5cf1883d61e723fef3d4957cf758c50e7a52b
Fix 2 warnings.

These changes have no effect on MMAPs and it's not needed to re-extact them.

(cherry picked from commit dfa556aaa2fd60f881845d381f71294b945396f6)

Conflicts:
	dep/PackageList.txt
2015-06-29 15:52:57 +01:00
jackpoz ed5e3fceed Core/MMAPs: Update recast
Update recast to https://github.com/memononen/recastnavigation/commit/42b96b7306d39bb7680ddb0f89d480a8296c83ff
Previous MMAPs might still work but it's recommended to re-extract them.
2014-06-25 22:04:06 +02:00
jackpoz 0892c71a16 Core/Dependencies: Clean up recastnavigation folder
Remove old files from recastnavigation folder and update the structure to the same of https://github.com/memononen/recastnavigation/ to allow easier updates.
2014-06-20 23:30:44 +02:00