Fix T62189: Wires Occluded When Edit Mesh Faces Disabled

Reviewed By: fclem
Maniphest Tasks: T62189
Differential Revision: https://developer.blender.org/D4593
This commit is contained in:
Jeroen Bakker 2019-03-26 15:18:47 +01:00
parent 51f8e51d78
commit 52aa35ec1e
Notes: blender-bot 2023-02-14 11:25:11 +01:00
Referenced by issue #62189, Wireframes not showing up in edit mode when Faces shade is disabled.
1 changed files with 1 additions and 0 deletions

View File

@ -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;