Fix T73517 Overlay: Edit Mode: X-Ray does not work if xray is equal to 1

This commit is contained in:
Clément Foucault 2020-02-05 18:45:39 +01:00
parent 0a95a0852e
commit 77394ef1db
Notes: blender-bot 2023-02-14 06:17:14 +01:00
Referenced by issue #73517, X-Ray Mode - visualization through mesh issue on value =1
1 changed files with 0 additions and 1 deletions

View File

@ -96,7 +96,6 @@ void OVERLAY_edit_mesh_cache_init(OVERLAY_Data *vedata)
if ((flag & V3D_OVERLAY_EDIT_FACES) == 0) {
pd->edit_mesh.do_faces = false;
pd->edit_mesh.do_zbufclip = false;
}
if ((flag & V3D_OVERLAY_EDIT_EDGES) == 0) {
if ((tsettings->selectmode & SCE_SELECT_EDGE) == 0) {