switch arg order for BM_face_other_* funcs (make face come first), and add nice ascii...
[blender.git] / source / blender / editors / mesh / loopcut.c
index 5f8c842f4f3ba0b67b84fdfc673802e6ab386674..bbc495706ac621340afae08cd93da3e7f7f75db5 100644 (file)
@@ -161,7 +161,7 @@ static void edgering_find_order(BMEditMesh *em, BMEdge *lasteed, BMEdge *eed,
                return;
        }
        
-       l2 = BM_face_other_loop(l->e, l->f, eed->v1);
+       l2 = BM_face_other_loop(l->f, l->e, eed->v1);
        rev = (l2 == l->prev);
        while (l2->v != lasteed->v1 && l2->v != lasteed->v2) {
                l2 = rev ? l2->prev : l2->next;