move draw all edges into the object settings (object panel), makes more sense here since its next to draw extra wire

This commit is contained in:
Campbell Barton
2013-01-18 19:01:26 +00:00
parent a08a3ab931
commit 5f9ea0d7eb
10 changed files with 46 additions and 43 deletions

View File

@@ -230,6 +230,7 @@ class OBJECT_PT_display(ObjectButtonsPanel, Panel):
col.prop(ob, "show_x_ray", text="X-Ray")
if ob.type == 'MESH':
col.prop(ob, "show_transparent", text="Transparency")
col.prop(ob, "show_all_edges")
class OBJECT_PT_duplication(ObjectButtonsPanel, Panel):

View File

@@ -2382,9 +2382,6 @@ class VIEW3D_PT_view3d_display(Panel):
col.prop(view, "show_outline_selected")
col.prop(view, "show_all_objects_origin")
col.prop(view, "show_relationship_lines")
if ob and ob.type == 'MESH':
mesh = ob.data
col.prop(mesh, "show_all_edges")
col = layout.column()
col.active = display_all