diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-12-14 03:09:42 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-12-14 03:09:42 +0300 |
commit | dd4c87cd0451376bce96c459d90c2b95409f0d11 (patch) | |
tree | 576ee74ff71032c2b6eec94e549a1dba90edec96 /source/blender/editors/mesh/editmesh_select.c | |
parent | aca13040dac986e34468e7d533d0c3cc970fda90 (diff) | |
parent | aa3c4b4cb64f5b14e5167237b1c807b5ecf658bb (diff) |
Merge branch 'master' into blender2.8
Diffstat (limited to 'source/blender/editors/mesh/editmesh_select.c')
-rw-r--r-- | source/blender/editors/mesh/editmesh_select.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/mesh/editmesh_select.c b/source/blender/editors/mesh/editmesh_select.c index c24aca83f36..4ab00dd5962 100644 --- a/source/blender/editors/mesh/editmesh_select.c +++ b/source/blender/editors/mesh/editmesh_select.c @@ -1262,10 +1262,10 @@ bool EDBM_unified_findnearest_from_raycast( if (BM_elem_flag_test(f, BM_ELEM_HIDDEN) == false) { float point[3]; if (coords) { - BM_face_calc_center_mean_vcos(bm, f, point, coords); + BM_face_calc_center_median_vcos(bm, f, point, coords); } else { - BM_face_calc_center_mean(f, point); + BM_face_calc_center_median(f, point); } mul_m4_v3(obedit->obmat, point); float depth; @@ -1830,7 +1830,7 @@ static bool mouse_mesh_loop(bContext *C, const int mval[2], bool extend, bool de float cent[3]; float co[2], tdist; - BM_face_calc_center_mean(f, cent); + BM_face_calc_center_median(f, cent); if (ED_view3d_project_float_object( vc.ar, cent, co, V3D_PROJ_TEST_CLIP_NEAR) == V3D_PROJ_RET_OK) { |