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>2015-11-19 08:08:40 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-11-19 14:13:35 +0300
commitb8c40d47e0348a057e7fa7c49f49077f86a51d43 (patch)
treedafc38e1e3a1afb6cf6fbb61bc97bf46d5591ad8 /source/blender/bmesh/intern
parenteeed28fefc4b8fa31b542f03afd88da93a4ff230 (diff)
Cleanup: remove unused bmesh iterator
Diffstat (limited to 'source/blender/bmesh/intern')
-rw-r--r--source/blender/bmesh/intern/bmesh_iterators.c1
-rw-r--r--source/blender/bmesh/intern/bmesh_iterators.h8
2 files changed, 4 insertions, 5 deletions
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];