new weight paint draw option to display unweighted vertices with the option to check on the active group or all groups.

notes:
- vertices with zero weights are considered the same as vertices outside of a group.
- currently these show black but this can be made a theme color.
- multi-paint overrides this option (noted in description)
This commit is contained in:
Campbell Barton
2013-02-22 04:09:04 +00:00
parent 6bac47f854
commit b00c3b801b
6 changed files with 77 additions and 9 deletions

View File

@@ -1057,6 +1057,11 @@ class VIEW3D_PT_tools_weightpaint_options(Panel, View3DPaintPanel):
col.prop(wpaint, "input_samples")
col.label("Show Zero Weights:")
rowsub = col.row()
rowsub.active = (not tool_settings.use_multipaint)
rowsub.prop(tool_settings, "vertex_group_user", text="Show Group Use", expand=True)
self.unified_paint_settings(col, context)
# Commented out because the Apply button isn't an operator yet, making these settings useless