[Bf-blender-cvs] [b8c40d4] master: Cleanup: remove unused bmesh iterator
Campbell Barton
noreply at git.blender.org
Thu Nov 19 13:01:36 CET 2015
Commit: b8c40d47e0348a057e7fa7c49f49077f86a51d43
Author: Campbell Barton
Date: Thu Nov 19 16:08:40 2015 +1100
Branches: master
https://developer.blender.org/rBb8c40d47e0348a057e7fa7c49f49077f86a51d43
Cleanup: remove unused bmesh iterator
===================================================================
M source/blender/bmesh/intern/bmesh_iterators.c
M source/blender/bmesh/intern/bmesh_iterators.h
M source/blender/python/bmesh/bmesh_py_types.c
===================================================================
diff --git a/source/blender/bmesh/intern/bmesh_iterators.c b/source/blender/bmesh/intern/bmesh_iterators.c
index 0abf417..4014d29 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 c4b184e..336e9d8 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];
diff --git a/source/blender/python/bmesh/bmesh_py_types.c b/source/blender/python/bmesh/bmesh_py_types.c
index bf773d3..fc25a79 100644
--- a/source/blender/python/bmesh/bmesh_py_types.c
+++ b/source/blender/python/bmesh/bmesh_py_types.c
@@ -2789,7 +2789,7 @@ static PyTypeObject *bpy_bm_itype_as_pytype(const char itype)
case BM_FACES_OF_VERT:
return &BPy_BMFace_Type;
- case BM_ALL_LOOPS_OF_FACE:
+ // case BM_ALL_LOOPS_OF_FACE:
case BM_LOOPS_OF_FACE:
case BM_LOOPS_OF_EDGE:
case BM_LOOPS_OF_VERT:
More information about the Bf-blender-cvs
mailing list