diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-09-05 15:40:38 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-09-05 15:40:38 +0400 |
commit | 2e0422b17f2fab16840c13bc64a11b6bc8934d18 (patch) | |
tree | 214f67e972db1cd680444bd2718dfa6c7c276359 /source/blender/bmesh/operators/bmo_subdivide_edgering.c | |
parent | 8f49054b77f4006779a45b4d6977af383662722a (diff) |
add function for rotating linked list so at item is last.
Diffstat (limited to 'source/blender/bmesh/operators/bmo_subdivide_edgering.c')
-rw-r--r-- | source/blender/bmesh/operators/bmo_subdivide_edgering.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/bmesh/operators/bmo_subdivide_edgering.c b/source/blender/bmesh/operators/bmo_subdivide_edgering.c index d9d87d0db78..13a7aa09335 100644 --- a/source/blender/bmesh/operators/bmo_subdivide_edgering.c +++ b/source/blender/bmesh/operators/bmo_subdivide_edgering.c @@ -919,13 +919,13 @@ static void bm_edgering_pair_order(BMesh *bm, } BLI_assert(node != NULL); - BLI_rotatelist(lb_b, node); + BLI_rotatelist_first(lb_b, node); /* now check we are winding the same way */ if (bm_edgering_pair_order_is_flipped(bm, el_store_a, el_store_b)) { BM_edgeloop_flip(bm, el_store_b); /* re-ensure the first node */ - BLI_rotatelist(lb_b, node); + BLI_rotatelist_first(lb_b, node); } /* sanity checks that we are aligned & winding now */ |