[Bf-blender-cvs] [c30e12455b4] blender2.8: Correct argument type

Campbell Barton noreply at git.blender.org
Mon Sep 10 09:35:53 CEST 2018


Commit: c30e12455b4216c7d614cc28be74c10605a2ff34
Author: Campbell Barton
Date:   Mon Sep 10 17:45:54 2018 +1000
Branches: blender2.8
https://developer.blender.org/rBc30e12455b4216c7d614cc28be74c10605a2ff34

Correct argument type

===================================================================

M	source/blender/editors/mesh/editmesh_path.c

===================================================================

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;



More information about the Bf-blender-cvs mailing list