BLI_listbase: match arg order with BLI_qsort_r
[blender.git] / source / blender / blenlib / intern / scanfill_utils.c
index d0420a30448cddf1cad40fb5d673fd97a1d8bd7d..059d5cb05a486553598590c949cb197f8f7f1cf9 100644 (file)
@@ -267,7 +267,7 @@ static bool scanfill_preprocess_self_isect(
                                }
 
                                if (BLI_listbase_is_single(e_ls) == false) {
-                                       BLI_listbase_sort_r(e_ls, eed->v2->co, edge_isect_ls_sort_cb);
+                                       BLI_listbase_sort_r(e_ls, edge_isect_ls_sort_cb, eed->v2->co);
                                }
 
                                /* move original edge to filledgebase and add replacement