diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-09-10 10:45:54 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-09-10 10:45:54 +0300 |
commit | c30e12455b4216c7d614cc28be74c10605a2ff34 (patch) | |
tree | 1f407b378876942f5843022a6bcfb555016fe39b /source | |
parent | 18dc84dc35408123c20d473dd98fc279918d8460 (diff) |
Correct argument type
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/mesh/editmesh_path.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/mesh/editmesh_path.c b/source/blender/editors/mesh/editmesh_path.c index f127b85b19c..c8bf4a9cc4d 100644 --- a/source/blender/editors/mesh/editmesh_path.c +++ b/source/blender/editors/mesh/editmesh_path.c @@ -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; |