Shrink Wrap modifier: invert vgroup option

D1839 from @Orgold
This commit is contained in:
Campbell Barton
2016-03-07 11:24:03 +11:00
parent 5fd0c1ed3f
commit d086f6aa5c
5 changed files with 22 additions and 1 deletions

View File

@@ -738,7 +738,9 @@ class DATA_PT_modifiers(ModifierButtonsPanel, Panel):
col.prop(md, "target", text="")
col = split.column()
col.label(text="Vertex Group:")
col.prop_search(md, "vertex_group", ob, "vertex_groups", text="")
row = col.row(align=True)
row.prop_search(md, "vertex_group", ob, "vertex_groups", text="")
row.prop(md, "invert_vertex_group", text="", icon='ARROW_LEFTRIGHT')
split = layout.split()