diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-08-02 15:44:03 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-08-02 15:54:17 +0300 |
commit | d8c610536624da48ade2967253d6ab2c30062073 (patch) | |
tree | cc32a1b008f06073c12b50625692ab317ec319f7 /source/blender/editors | |
parent | 38ff5064b33ccb86c5b0d0145c981ffefe55d7eb (diff) |
Fix ignored window clipping test in foreach edge function
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/space_view3d/view3d_iterators.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_view3d/view3d_iterators.c b/source/blender/editors/space_view3d/view3d_iterators.c index 2636062ed8b..a7215a3b7f7 100644 --- a/source/blender/editors/space_view3d/view3d_iterators.c +++ b/source/blender/editors/space_view3d/view3d_iterators.c @@ -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) { |