Wireframe: Add slider to hide edges from coplanar faces

The default behaviour is to show the same amount of edges as 2.7.
The slider makes it possible to show all edges or even less.
This commit is contained in:
Clément Foucault
2018-06-05 19:35:08 +02:00
parent 7ff07ddd01
commit d5ce40a5ed
13 changed files with 344 additions and 35 deletions

View File

@@ -3573,7 +3573,13 @@ class VIEW3D_PT_overlay(Panel):
col.prop(overlay, "show_relationship_lines")
col.prop(overlay, "show_motion_paths")
col.prop(overlay, "show_face_orientation")
col.prop(overlay, "show_wireframes")
row = col.row()
row.prop(overlay, "show_wireframes")
sub = row.row()
sub.active = overlay.show_wireframes
sub.prop(overlay, "wireframe_threshold", text="")
col.prop(overlay, "show_backface_culling")
if shading.type == "MATERIAL":