Fix ignored window clipping test in foreach edge function

This commit is contained in:
Campbell Barton 2019-08-02 22:44:03 +10:00
parent 38ff5064b3
commit d8c6105366
1 changed files with 1 additions and 1 deletions

View File

@ -201,7 +201,7 @@ static void mesh_foreachScreenEdge__mapFunc(void *userData,
if (!BM_elem_flag_test(eed, BM_ELEM_HIDDEN)) {
float screen_co_a[2];
float screen_co_b[2];
eV3DProjTest clip_flag_nowin = data->clip_flag &= ~V3D_PROJ_TEST_CLIP_WIN;
eV3DProjTest clip_flag_nowin = data->clip_flag & ~V3D_PROJ_TEST_CLIP_WIN;
if (ED_view3d_project_float_object(data->vc.ar, v0co, screen_co_a, clip_flag_nowin) !=
V3D_PROJ_RET_OK) {