Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-02-07 21:42:46 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-02-07 21:42:46 +0400
commit051cf6abf879524aae6eee7c99b77a5bf398f397 (patch)
tree7d2ce53dac31020760d9ca0aab9efd77ac44f992 /source/blender/editors/mesh/mesh_navmesh.c
parent3b57b343f9e2cdc588f977526d539fc9216b829f (diff)
Style Cleanup:
replace 0/1 with TRUE/FALSE define.
Diffstat (limited to 'source/blender/editors/mesh/mesh_navmesh.c')
-rw-r--r--source/blender/editors/mesh/mesh_navmesh.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/source/blender/editors/mesh/mesh_navmesh.c b/source/blender/editors/mesh/mesh_navmesh.c
index 5eb1fd234e4..870350e18af 100644
--- a/source/blender/editors/mesh/mesh_navmesh.c
+++ b/source/blender/editors/mesh/mesh_navmesh.c
@@ -382,12 +382,15 @@ static Object* createRepresentation(bContext *C, struct recast_polyMesh *pmesh,
for(k= 0; k<3; k++) {
if(tri[k]<nv)
- face[k]= p[tri[k]]; /* shared vertex */
+ face[k] = p[tri[k]]; /* shared vertex */
else
- face[k]= uniquevbase+tri[k]-nv; /* unique vertex */
+ face[k] = uniquevbase+tri[k]-nv; /* unique vertex */
}
- newFace= BM_Make_Face_QuadTri(em->bm, EDBM_get_vert_for_index(em, face[0]), EDBM_get_vert_for_index(em, face[2]),
- EDBM_get_vert_for_index(em, face[1]), NULL, NULL, 0);
+ newFace= BM_Make_Face_QuadTri(em->bm,
+ EDBM_get_vert_for_index(em, face[0]),
+ EDBM_get_vert_for_index(em, face[2]),
+ EDBM_get_vert_for_index(em, face[1]), NULL,
+ NULL, FALSE);
/* set navigation polygon idx to the custom layer */
polygonIdx= (int*)CustomData_bmesh_get(&em->bm->pdata, newFace->head.data, CD_RECAST);