diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-08-04 07:43:02 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-08-04 07:43:02 +0400 |
commit | 4bd60205fbdd7935fdda8f2d6f75e6ce3eb17c8f (patch) | |
tree | ec6199fe864c4caac6f0c72f0cf9761bffb080e7 /source/blender | |
parent | 704598ef4eebaca794da8884dbec42d5f259736f (diff) |
fix navmesh, error was introduced by r58420 looks like changes weren't tested.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/blenkernel/intern/navmesh_conversion.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/source/blender/blenkernel/intern/navmesh_conversion.c b/source/blender/blenkernel/intern/navmesh_conversion.c index 75e6ce9837d..1d662ae3116 100644 --- a/source/blender/blenkernel/intern/navmesh_conversion.c +++ b/source/blender/blenkernel/intern/navmesh_conversion.c @@ -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"); |