Modifiers: Laplacian Smooth modifier add invert vgroup option

Adds the invert vgroup option to the Laplacian Smooth modifier.

Differential Revision: https://developer.blender.org/D6842
This commit is contained in:
Cody Winchester
2020-02-18 16:28:02 +01:00
committed by Bastien Montagne
parent cef4d344f9
commit d0cc9b522d
4 changed files with 12 additions and 2 deletions

View File

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