mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Recast: remove commented off-mesh connection check
Off-mesh links should never make it into rebuildBVTree, there is also an assert for it to catch bugs if it happens. Removed commented code.
This commit is contained in:
parent
c71d7f52dc
commit
94c296561f
@ -271,10 +271,6 @@ static bool rebuildBVTree(dtMeshTile* tile, const unsigned short* oldPolyIndices
|
||||
const dtPoly& poly = tile->polys[oldPolyIndex];
|
||||
|
||||
rdAssert(poly.getType() != DT_POLYTYPE_OFFMESH_CONNECTION);
|
||||
|
||||
//if (poly.getType() == DT_POLYTYPE_OFFMESH_CONNECTION)
|
||||
// continue;
|
||||
|
||||
const dtPolyDetail& detail = tile->detailMeshes[oldPolyIndex];
|
||||
|
||||
float bmin[3];
|
||||
|
Loading…
x
Reference in New Issue
Block a user