fix navmesh, error was introduced by r58420 looks like changes weren't tested.

This commit is contained in:
Campbell Barton
2013-08-04 03:43:02 +00:00
parent 704598ef4e
commit 4bd60205fb

View File

@@ -440,9 +440,6 @@ int buildNavMeshDataByDerivedMesh(DerivedMesh *dm, int *vertsPerPoly,
int ntris = 0, *recastData = NULL;
unsigned short *tris = NULL;
/* Don't bother converting if there is nothing to convert */
if (!*nverts) return 0;
res = buildRawVertIndicesData(dm, nverts, verts, &ntris, &tris, trisToFacesMap, &recastData);
if (!res) {
printf("Converting navmesh: Error! Can't get vertices and indices from mesh\n");