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>2013-09-05 15:40:38 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-09-05 15:40:38 +0400
commit2e0422b17f2fab16840c13bc64a11b6bc8934d18 (patch)
tree214f67e972db1cd680444bd2718dfa6c7c276359 /source/blender/bmesh/operators/bmo_bridge.c
parent8f49054b77f4006779a45b4d6977af383662722a (diff)
add function for rotating linked list so at item is last.
Diffstat (limited to 'source/blender/bmesh/operators/bmo_bridge.c')
-rw-r--r--source/blender/bmesh/operators/bmo_bridge.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/bmesh/operators/bmo_bridge.c b/source/blender/bmesh/operators/bmo_bridge.c
index fa46e353b48..22a1a87b71c 100644
--- a/source/blender/bmesh/operators/bmo_bridge.c
+++ b/source/blender/bmesh/operators/bmo_bridge.c
@@ -121,7 +121,7 @@ static void bm_bridge_best_rotation(struct BMEdgeLoopStore *el_store_a, struct B
}
if (el_b_best) {
- BLI_rotatelist(lb_b, el_b_best);
+ BLI_rotatelist_first(lb_b, el_b_best);
}
}
@@ -274,7 +274,7 @@ static void bridge_loop_pair(BMesh *bm,
const int len_b = BM_edgeloop_length_get(el_store_b);
ListBase *lb_b = BM_edgeloop_verts_get(el_store_b);
LinkData *el_b = BLI_rfindlink(lb_b, positive_mod(twist_offset, len_b));
- BLI_rotatelist(lb_b, el_b);
+ BLI_rotatelist_first(lb_b, el_b);
}
}