Issue 51: crash when poly nvp is change to smaller after first build.
This commit is contained in:
parent
359f15b11c
commit
ababd28f59
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user