mirror of
https://github.com/recastnavigation/recastnavigation.git
synced 2026-09-29 21:46:33 +00:00
Issue 51: crash when poly nvp is change to smaller after first build.
This commit is contained in:
@@ -485,7 +485,7 @@ static void pushBack(int v, int* arr, int& an)
|
||||
|
||||
static bool removeVertex(rcPolyMesh& mesh, const unsigned short rem, const int maxTris)
|
||||
{
|
||||
static const int nvp = mesh.nvp;
|
||||
const int nvp = mesh.nvp;
|
||||
|
||||
// Count number of polygons to remove.
|
||||
int nrem = 0;
|
||||
|
||||
Reference in New Issue
Block a user