Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/mesh/editmesh_select.c
| Context not available. | |||||
| ED_view3d_init_mats_rv3d(vc->obedit, vc->rv3d); | ED_view3d_init_mats_rv3d(vc->obedit, vc->rv3d); | ||||
| mesh_foreachScreenFace( | mesh_foreachScreenFaceCenter( | ||||
| vc, find_nearest_face_center__doZBuf, &data, V3D_PROJ_TEST_CLIP_DEFAULT); | vc, find_nearest_face_center__doZBuf, &data, V3D_PROJ_TEST_CLIP_DEFAULT); | ||||
| *r_dist_center = data.dist_px_manhattan; | *r_dist_center = data.dist_px_manhattan; | ||||
| Context not available. | |||||
| *dist_px_manhattan_p; | *dist_px_manhattan_p; | ||||
| ED_view3d_init_mats_rv3d(vc->obedit, vc->rv3d); | ED_view3d_init_mats_rv3d(vc->obedit, vc->rv3d); | ||||
| mesh_foreachScreenFace(vc, findnearestface__doClosest, &data, clip_flag); | mesh_foreachScreenFaceCenter(vc, findnearestface__doClosest, &data, clip_flag); | ||||
| hit = (data.use_cycle && data.hit_cycle.face) ? &data.hit_cycle : &data.hit; | hit = (data.use_cycle && data.hit_cycle.face) ? &data.hit_cycle : &data.hit; | ||||
| Context not available. | |||||