diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-06-11 08:07:14 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-06-11 14:54:06 +0300 |
commit | b8b57d2da99acca0d68035315b159174a8570271 (patch) | |
tree | 60ec04036188610c44cb8118838497ccfdd8cad6 /source/blender/editors/mesh/editmesh_knife.c | |
parent | 958c20872a662808be8353b33904f1e30c2d0fcf (diff) |
BLI_listbase: match arg order with BLI_qsort_r
Diffstat (limited to 'source/blender/editors/mesh/editmesh_knife.c')
-rw-r--r-- | source/blender/editors/mesh/editmesh_knife.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/mesh/editmesh_knife.c b/source/blender/editors/mesh/editmesh_knife.c index b7e11287d36..8775160de76 100644 --- a/source/blender/editors/mesh/editmesh_knife.c +++ b/source/blender/editors/mesh/editmesh_knife.c @@ -2828,7 +2828,7 @@ static void knife_make_cuts(KnifeTool_OpData *kcd) for (lst = BLI_smallhash_iternew(ehash, &hiter, (uintptr_t *)&e); lst; lst = BLI_smallhash_iternext(&hiter, (uintptr_t *)&e)) { - BLI_listbase_sort_r(lst, e->v1->co, sort_verts_by_dist_cb); + BLI_listbase_sort_r(lst, sort_verts_by_dist_cb, e->v1->co); for (ref = lst->first; ref; ref = ref->next) { kfv = ref->ref; |