fix for error in own recent commit

This commit is contained in:
Campbell Barton 2012-09-06 11:02:27 +00:00
parent 6f0cbd787d
commit 9411716f31

@ -995,7 +995,7 @@ void bmo_subdivide_edges_exec(BMesh *bm, BMOperator *op)
BMIter other_fiter; BMIter other_fiter;
BM_ITER_ELEM (other_loop, &other_fiter, loops[a]->v, BM_LOOPS_OF_VERT) { BM_ITER_ELEM (other_loop, &other_fiter, loops[a]->v, BM_LOOPS_OF_VERT) {
if (other_loop->f != face) { if (other_loop->f != face) {
if (BM_vert_in_face(other_loop->f, loops[a]->v)) { if (BM_vert_in_face(other_loop->f, loops[b]->v)) {
/* we assume that these verts are not making an edge in the face */ /* we assume that these verts are not making an edge in the face */
BLI_assert(other_loop->prev->v != loops[a]->v); BLI_assert(other_loop->prev->v != loops[a]->v);
BLI_assert(other_loop->next->v != loops[a]->v); BLI_assert(other_loop->next->v != loops[a]->v);