Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/mesh/editmesh_select.c
| Context not available. | |||||
| } | } | ||||
| else { | else { | ||||
| struct NearestVertUserData data = {{0}}; | struct NearestVertUserData data = {{0}}; | ||||
| const struct NearestVertUserData_Hit *hit; | const struct NearestVertUserData_Hit *hit = NULL; | ||||
| const eV3DProjTest clip_flag = V3D_PROJ_TEST_CLIP_DEFAULT; | const eV3DProjTest clip_flag = V3D_PROJ_TEST_CLIP_DEFAULT; | ||||
| BMesh *prev_select_bm = NULL; | BMesh *prev_select_bm = NULL; | ||||
| Context not available. | |||||
| prev_select_bm = vc->em->bm; | prev_select_bm = vc->em->bm; | ||||
| } | } | ||||
| } | } | ||||
| if (hit) { | |||||
| prev_select.index = hit->index; | |||||
| prev_select.elem = hit->vert; | |||||
| prev_select.bm = prev_select_bm; | |||||
| prev_select.index = hit->index; | return hit->vert; | ||||
| prev_select.elem = hit->vert; | } | ||||
| prev_select.bm = prev_select_bm; | return NULL; | ||||
| return hit->vert; | |||||
| } | } | ||||
| } | } | ||||
| Context not available. | |||||