From b8c40d47e0348a057e7fa7c49f49077f86a51d43 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 19 Nov 2015 16:08:40 +1100 Subject: Cleanup: remove unused bmesh iterator --- source/blender/bmesh/intern/bmesh_iterators.c | 1 - source/blender/bmesh/intern/bmesh_iterators.h | 8 ++++---- 2 files changed, 4 insertions(+), 5 deletions(-) (limited to 'source/blender/bmesh/intern') diff --git a/source/blender/bmesh/intern/bmesh_iterators.c b/source/blender/bmesh/intern/bmesh_iterators.c index 0abf41709a0..4014d29966a 100644 --- a/source/blender/bmesh/intern/bmesh_iterators.c +++ b/source/blender/bmesh/intern/bmesh_iterators.c @@ -48,7 +48,6 @@ const char bm_iter_itype_htype_map[BM_ITYPE_MAX] = { BM_VERT, /* BM_VERTS_OF_FACE */ BM_EDGE, /* BM_EDGES_OF_FACE */ BM_LOOP, /* BM_LOOPS_OF_FACE */ - BM_LOOP, /* BM_ALL_LOOPS_OF_FACE */ BM_LOOP, /* BM_LOOPS_OF_LOOP */ BM_LOOP /* BM_LOOPS_OF_EDGE */ }; diff --git a/source/blender/bmesh/intern/bmesh_iterators.h b/source/blender/bmesh/intern/bmesh_iterators.h index c4b184ef8b8..336e9d88dea 100644 --- a/source/blender/bmesh/intern/bmesh_iterators.h +++ b/source/blender/bmesh/intern/bmesh_iterators.h @@ -70,15 +70,15 @@ typedef enum BMIterType { /* returns elements from all boundaries, and returns * the first element at the end to flag that we're entering * a different face hole boundary*/ - BM_ALL_LOOPS_OF_FACE = 12, + // BM_ALL_LOOPS_OF_FACE = 12, /* iterate through loops around this loop, which are fetched * from the other faces in the radial cycle surrounding the * input loop's edge.*/ - BM_LOOPS_OF_LOOP = 13, - BM_LOOPS_OF_EDGE = 14 + BM_LOOPS_OF_LOOP = 12, + BM_LOOPS_OF_EDGE = 13 } BMIterType; -#define BM_ITYPE_MAX 15 +#define BM_ITYPE_MAX 14 /* the iterator htype for each iterator */ extern const char bm_iter_itype_htype_map[BM_ITYPE_MAX]; -- cgit v1.2.3