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:
authorDaniel Genrich <daniel.genrich@gmx.net>2013-10-28 23:43:53 +0400
committerDaniel Genrich <daniel.genrich@gmx.net>2013-10-28 23:43:53 +0400
commit421346cefeb232495c924e8f635b06ae44d06be8 (patch)
tree832868b4ab2711f868a2e26885a5912bbe49e453
parent70e9191e15825fb7af6d5ed2e71b239ce601922d (diff)
Fix compile error using Visual Studio 2012.
-rw-r--r--source/blender/bmesh/intern/bmesh_mesh.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/bmesh/intern/bmesh_mesh.c b/source/blender/bmesh/intern/bmesh_mesh.c
index 033a31daae7..701fdf07710 100644
--- a/source/blender/bmesh/intern/bmesh_mesh.c
+++ b/source/blender/bmesh/intern/bmesh_mesh.c
@@ -762,21 +762,21 @@ void BM_mesh_elem_table_free(BMesh *bm, const char htype)
}
}
-BMVert *BM_vert_at_index(BMesh *bm, int index)
+BMVert *BM_vert_at_index(BMesh *bm, const int index)
{
BLI_assert((index >= 0) && (index < bm->totvert));
BLI_assert((bm->elem_table_dirty & BM_VERT) == 0);
return bm->vtable[index];
}
-BMEdge *BM_edge_at_index(BMesh *bm, int index)
+BMEdge *BM_edge_at_index(BMesh *bm, const int index)
{
BLI_assert((index >= 0) && (index < bm->totedge));
BLI_assert((bm->elem_table_dirty & BM_EDGE) == 0);
return bm->etable[index];
}
-BMFace *BM_face_at_index(BMesh *bm, int index)
+BMFace *BM_face_at_index(BMesh *bm, const int index)
{
BLI_assert((index >= 0) && (index < bm->totface));
BLI_assert((bm->elem_table_dirty & BM_FACE) == 0);