diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-03-09 00:00:37 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-03-09 00:00:37 +0400 |
commit | c82c4562477a3f8b2b051299b523131a5a6bb271 (patch) | |
tree | da80cd62ce42d5148b048c2e472118efc6894d52 /source/blender/bmesh/intern/bmesh_structure.c | |
parent | 284fcd2df22ff7539cc9affbc819293fd3acd5e1 (diff) |
bmesh py api, new functions:
* bmesh.utils.face_vert_rip(f, v)
* bmesh.utils.loop_rip(l)
Diffstat (limited to 'source/blender/bmesh/intern/bmesh_structure.c')
-rw-r--r-- | source/blender/bmesh/intern/bmesh_structure.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/source/blender/bmesh/intern/bmesh_structure.c b/source/blender/bmesh/intern/bmesh_structure.c index fa6d9315fab..eca90e8e7f2 100644 --- a/source/blender/bmesh/intern/bmesh_structure.c +++ b/source/blender/bmesh/intern/bmesh_structure.c @@ -450,27 +450,6 @@ BMLoop *bmesh_radial_faceloop_find_next(BMLoop *l, BMVert *v) return l; } -/* NOTE: this function has not been used or tested - so take care but it should work ok, - * I wrote it for some tool that ended up not using it, however this seems like a reasonable - * thing to be able to find the loop between a vertex and a face so keeping - campbell */ -/** - * \brief Radial Find a Vertex Loop in Face - * - * Finds the loop used which uses \a v in face loop \a l - */ -BMLoop *bmesh_radial_faceloop_find_vert(BMFace *f, BMVert *v) /* name is a bit awkward */ -{ - BMLoop *l_iter, *l_first; - if (v->e && (l_iter = l_first = v->e->l)) { - do { - if (l_iter->v == v && l_iter->f == f) { - return l_iter; - } - } while ((l_iter = l_iter->radial_next) != l_first); - } - return NULL; -} - int bmesh_radial_length(BMLoop *l) { BMLoop *l_iter = l; |