Fix T85178: edit-mesh show_edges overlay option toggles face-dots
When this behavior was added it made sense,
since then show_edges has changed to make edge-display more subtle
(see 1a4b60c30d
) instead of removing
edge-selection display entirely.
This commit is contained in:
parent
6f88053d85
commit
cf91fb347d
Notes:
blender-bot
2023-02-14 04:10:15 +01:00
Referenced by issue #85178, Face dot overlay can be toggled by wrong checkbox
|
@ -110,12 +110,6 @@ void OVERLAY_edit_mesh_cache_init(OVERLAY_Data *vedata)
|
|||
float face_alpha = (do_occlude_wire || !pd->edit_mesh.do_faces) ? 0.0f : 1.0f;
|
||||
GPUTexture **depth_tex = (pd->edit_mesh.do_zbufclip) ? &dtxl->depth : &txl->dummy_depth_tx;
|
||||
|
||||
if (select_face && !pd->edit_mesh.do_faces && pd->edit_mesh.do_edges) {
|
||||
/* Force display of face centers in this case because that's
|
||||
* the only way to see if a face is selected. */
|
||||
show_face_dots = true;
|
||||
}
|
||||
|
||||
/* Run Twice for in-front passes. */
|
||||
for (int i = 0; i < 2; i++) {
|
||||
/* Complementary Depth Pass */
|
||||
|
|
Loading…
Reference in New Issue