Merge branch 'master' into blender2.8
[blender.git] / source / blender / bmesh / intern / bmesh_mesh.c
index 8833564e486a7a626315cf5a1c51d8e00ee62a8f..94d076fa6ecc3f9df4bf7ea42f510be9fea9cc4b 100644 (file)
@@ -1877,28 +1877,6 @@ void BM_mesh_elem_table_free(BMesh *bm, const char htype)
        }
 }
 
        }
 }
 
-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, 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, const int index)
-{
-       BLI_assert((index >= 0) && (index < bm->totface));
-       BLI_assert((bm->elem_table_dirty & BM_FACE) == 0);
-       return bm->ftable[index];
-}
-
-
 BMVert *BM_vert_at_index_find(BMesh *bm, const int index)
 {
        return BLI_mempool_findelem(bm->vpool, index);
 BMVert *BM_vert_at_index_find(BMesh *bm, const int index)
 {
        return BLI_mempool_findelem(bm->vpool, index);