Mesh Drawing:

Option to draw mesh vertex-weights in editmode, available from the 'Mesh Display' panel.

TODO: get this to work when modifiers are applied in solid mode (texface-solidmode is working).
This commit is contained in:
2013-04-13 20:20:21 +00:00
parent e1c9353c94
commit 31c375b97a
6 changed files with 174 additions and 67 deletions

View File

@@ -2554,6 +2554,8 @@ class VIEW3D_PT_view3d_meshdisplay(Panel):
mesh = context.active_object.data
layout.prop(mesh, "show_weight")
split = layout.split()
with_freestyle = context.scene and bpy.app.build_options.freestyle
@@ -2571,7 +2573,7 @@ class VIEW3D_PT_view3d_meshdisplay(Panel):
if not with_freestyle:
col.prop(mesh, "show_edge_seams", text="Seams")
col.prop(mesh, "show_edge_sharp", text="Sharp", text_ctxt=i18n_contexts.plural)
col.prop(mesh, "show_edge_bevel_weight", text="Weights")
col.prop(mesh, "show_edge_bevel_weight", text="Bevel")
if with_freestyle:
col.prop(mesh, "show_freestyle_edge_marks", text="Edge Marks")
col.prop(mesh, "show_freestyle_face_marks", text="Face Marks")