Fix ignored window clipping test in foreach edge function
This commit is contained in:
parent
38ff5064b3
commit
d8c6105366
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue