diff options
author | Jeroen Bakker <j.bakker@atmind.nl> | 2019-03-26 17:18:47 +0300 |
---|---|---|
committer | Jeroen Bakker <j.bakker@atmind.nl> | 2019-03-26 17:19:47 +0300 |
commit | 52aa35ec1e8a35032594e88f7053929f9bd8f1bc (patch) | |
tree | fbea667ac5e20044df517ac74a69136e0c16d5b8 /source/blender/draw/modes/edit_mesh_mode.c | |
parent | 51f8e51d7817d20abdb3adb29efba40b421794e3 (diff) |
Fix T62189: Wires Occluded When Edit Mesh Faces Disabled
Reviewed By: fclem
Maniphest Tasks: T62189
Differential Revision: https://developer.blender.org/D4593
Diffstat (limited to 'source/blender/draw/modes/edit_mesh_mode.c')
-rw-r--r-- | source/blender/draw/modes/edit_mesh_mode.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/draw/modes/edit_mesh_mode.c b/source/blender/draw/modes/edit_mesh_mode.c index 6a35d43f422..71c759d47a5 100644 --- a/source/blender/draw/modes/edit_mesh_mode.c +++ b/source/blender/draw/modes/edit_mesh_mode.c @@ -400,6 +400,7 @@ static void EDIT_MESH_cache_init(void *vedata) if ((v3d->overlay.edit_flag & V3D_OVERLAY_EDIT_FACES) == 0) { stl->g_data->data_mask[0] &= ~(VFLAG_FACE_SELECTED & VFLAG_FACE_FREESTYLE); stl->g_data->do_faces = false; + stl->g_data->do_zbufclip = false; } if ((tsettings->selectmode & SCE_SELECT_FACE) == 0) { stl->g_data->data_mask[0] &= ~VFLAG_FACE_ACTIVE; |