diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2013-01-05 15:50:36 +0400 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2013-01-05 15:50:36 +0400 |
commit | 5b72578a1350881866600b2fe9e4a7d0231bf02c (patch) | |
tree | bc430b86426909763c1f2be52fb61fa6de99da96 /source/blender | |
parent | 9b9da2820bc68e11e7ccbc1941b038863cbb4e62 (diff) |
Tsst... "faled"... :p
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/mesh/mesh_navmesh.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/source/blender/editors/mesh/mesh_navmesh.c b/source/blender/editors/mesh/mesh_navmesh.c index 41d4d4aafec..99fa85b3ee7 100644 --- a/source/blender/editors/mesh/mesh_navmesh.c +++ b/source/blender/editors/mesh/mesh_navmesh.c @@ -198,7 +198,7 @@ static bool buildNavMesh(const RecastData *recastParams, int nverts, float *vert if (!recast_createHeightfield(solid, width, height, bmin, bmax, recastParams->cellsize, recastParams->cellheight)) { recast_destroyHeightfield(solid); - BKE_report(reports, RPT_ERROR, "Faled to create hight field"); + BKE_report(reports, RPT_ERROR, "Failed to create height field"); return false; } @@ -222,7 +222,7 @@ static bool buildNavMesh(const RecastData *recastParams, int nverts, float *vert recast_destroyHeightfield(solid); recast_destroyCompactHeightfield(chf); - BKE_report(reports, RPT_ERROR, "Faled to create compact hight field"); + BKE_report(reports, RPT_ERROR, "Failed to create compact height field"); return false; } @@ -232,7 +232,7 @@ static bool buildNavMesh(const RecastData *recastParams, int nverts, float *vert if (!recast_erodeWalkableArea(walkableRadius, chf)) { recast_destroyCompactHeightfield(chf); - BKE_report(reports, RPT_ERROR, "Faled to erode walkable area"); + BKE_report(reports, RPT_ERROR, "Failed to erode walkable area"); return false; } @@ -240,7 +240,7 @@ static bool buildNavMesh(const RecastData *recastParams, int nverts, float *vert if (!recast_buildDistanceField(chf)) { recast_destroyCompactHeightfield(chf); - BKE_report(reports, RPT_ERROR, "Faled to build distance field"); + BKE_report(reports, RPT_ERROR, "Failed to build distance field"); return false; } @@ -248,7 +248,7 @@ static bool buildNavMesh(const RecastData *recastParams, int nverts, float *vert if (!recast_buildRegions(chf, 0, minRegionArea, mergeRegionArea)) { recast_destroyCompactHeightfield(chf); - BKE_report(reports, RPT_ERROR, "Faled to build regions"); + BKE_report(reports, RPT_ERROR, "Failed to build regions"); return false; } @@ -260,7 +260,7 @@ static bool buildNavMesh(const RecastData *recastParams, int nverts, float *vert recast_destroyCompactHeightfield(chf); recast_destroyContourSet(cset); - BKE_report(reports, RPT_ERROR, "Faled to build contours"); + BKE_report(reports, RPT_ERROR, "Failed to build contours"); return false; } @@ -271,7 +271,7 @@ static bool buildNavMesh(const RecastData *recastParams, int nverts, float *vert recast_destroyContourSet(cset); recast_destroyPolyMesh(*pmesh); - BKE_report(reports, RPT_ERROR, "Faled to build poly mesh"); + BKE_report(reports, RPT_ERROR, "Failed to build poly mesh"); return false; } @@ -285,7 +285,7 @@ static bool buildNavMesh(const RecastData *recastParams, int nverts, float *vert recast_destroyPolyMesh(*pmesh); recast_destroyPolyMeshDetail(*dmesh); - BKE_report(reports, RPT_ERROR, "Faled to build poly mesh detail"); + BKE_report(reports, RPT_ERROR, "Failed to build poly mesh detail"); return false; } |