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

This commit is contained in:
2020-02-05 18:45:39 +01:00
parent 0a95a0852e
commit 77394ef1db

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) {