switch arg order for BM_face_other_* funcs (make face come first), and add nice ascii...
[blender.git] / source / blender / bmesh / intern / bmesh_walkers_impl.c
index ed029af13f0d872bdbbea9bf29fd518f5959a696..4f2682a7da99ed6b4e7719e36f1e76193b3949c6 100644 (file)
@@ -273,7 +273,7 @@ static void *bmw_IslandboundWalker_step(BMWalker *walker)
        f = l->f;
        
        while (1) {
-               l = BM_face_other_loop(e, f, v);
+               l = BM_face_other_loop(f, e, v);
                if (l != l->radial_next) {
                        l = l->radial_next;
                        f = l->f;
@@ -474,7 +474,7 @@ static void *bmw_LoopWalker_step(BMWalker *walker)
                while (1) {
                        if (rlen != 1 && i == stopi) break;
 
-                       l = BM_face_other_loop(l->e, l->f, v);
+                       l = BM_face_other_loop(l->f, l->e, v);
 
                        if (!l)
                                break;