Correct argument type
authorCampbell Barton <ideasman42@gmail.com>
Mon, 10 Sep 2018 07:45:54 +0000 (17:45 +1000)
committerCampbell Barton <ideasman42@gmail.com>
Mon, 10 Sep 2018 07:45:54 +0000 (17:45 +1000)
source/blender/editors/mesh/editmesh_path.c

index f127b85b19cc9699c17f897ef3dd433124f9f03c..c8bf4a9cc4ddcc9e4fc2f3789120bacd5f7932a6 100644 (file)
@@ -639,7 +639,7 @@ static int edbm_shortest_path_pick_invoke(bContext *C, wmOperator *op, const wmE
                int base_index = -1;
                uint bases_len = 0;
                Base **bases = BKE_view_layer_array_from_bases_in_edit_mode(vc.view_layer, &bases_len);
-               if (EDBM_unified_findnearest(&vc, bases, bases_len, base_index, &eve, &eed, &efa)) {
+               if (EDBM_unified_findnearest(&vc, bases, bases_len, &base_index, &eve, &eed, &efa)) {
                        basact = bases[base_index];
                        ED_view3d_viewcontext_init_object(&vc, basact->object);
                        em = vc.em;