Fix T65389 Edit Mesh: Face dots are not shown in Xray mode

This commit is contained in:
Clément Foucault 2019-06-05 14:21:06 +02:00
parent f2da21e052
commit 6d143f3775
Notes: blender-bot 2023-02-14 02:21:00 +01:00
Referenced by issue #65389, Face dots are not shown in Xray mode
1 changed files with 2 additions and 1 deletions

View File

@ -624,7 +624,8 @@ static void EDIT_MESH_cache_init(void *vedata)
DRW_shgroup_uniform_texture_ref(mix_shgrp, "sceneDepth", &dtxl->depth);
}
bool show_face_dots = (v3d->overlay.edit_flag & V3D_OVERLAY_EDIT_FACE_DOT) != 0;
bool show_face_dots = XRAY_FLAG_ENABLED(v3d) ||
(v3d->overlay.edit_flag & V3D_OVERLAY_EDIT_FACE_DOT) != 0;
if (g_data->do_faces == false && g_data->do_edges == false &&
(tsettings->selectmode & SCE_SELECT_FACE)) {