Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-03-04 20:01:02 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-03-04 20:01:02 +0400
commit76e9f91d1c9ff5f026ff4e05e76b751f936f83f7 (patch)
tree5442156fb09a952aabceb5fc6daa6cf598642578 /source/blender/editors/mesh
parentc2760307e853e88fb61be24b7cc3db03d6d2219b (diff)
switch arg order for BM_face_other_* funcs (make face come first), and add nice ascii art for BM_face_other_vert_loop since this stuff is hard to grasp as text.
Diffstat (limited to 'source/blender/editors/mesh')
-rw-r--r--source/blender/editors/mesh/bmesh_tools.c8
-rw-r--r--source/blender/editors/mesh/loopcut.c2
2 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/editors/mesh/bmesh_tools.c b/source/blender/editors/mesh/bmesh_tools.c
index 487f954e4b3..037a64127d1 100644
--- a/source/blender/editors/mesh/bmesh_tools.c
+++ b/source/blender/editors/mesh/bmesh_tools.c
@@ -2398,12 +2398,12 @@ static int mesh_rip_invoke(bContext *C, wmOperator *op, wmEvent *event)
}
else if (BM_edge_face_count(e2) == 2) {
l = e2->l;
- e = BM_face_other_loop(e2, l->f, v)->e;
+ e = BM_face_other_loop(l->f, e2, v)->e;
BM_elem_flag_enable(e, BM_ELEM_TAG);
BM_elem_select_set(bm, e, TRUE);
l = e2->l->radial_next;
- e = BM_face_other_loop(e2, l->f, v)->e;
+ e = BM_face_other_loop(l->f, e2, v)->e;
BM_elem_flag_enable(e, BM_ELEM_TAG);
BM_elem_select_set(bm, e, TRUE);
}
@@ -2423,9 +2423,9 @@ static int mesh_rip_invoke(bContext *C, wmOperator *op, wmEvent *event)
}
if (i == 1 && e2->l) {
- l = BM_face_other_loop(e2, e2->l->f, v);
+ l = BM_face_other_loop(e2->l->f, e2, v);
l = l->radial_next;
- l = BM_face_other_loop(l->e, l->f, v);
+ l = BM_face_other_loop(l->f, l->e, v);
if (l) {
BM_elem_select_set(bm, l->e, TRUE);
diff --git a/source/blender/editors/mesh/loopcut.c b/source/blender/editors/mesh/loopcut.c
index 5f8c842f4f3..bbc495706ac 100644
--- a/source/blender/editors/mesh/loopcut.c
+++ b/source/blender/editors/mesh/loopcut.c
@@ -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;