Modifiers: Weld Modifier add invert vgroup option

Adds the invert vgroup option to the weld modifier.

Differential Revision: https://developer.blender.org/D6818
This commit is contained in:
Cody Winchester
2020-02-12 11:04:20 +01:00
committed by Bastien Montagne
parent 0e15850a7e
commit cd57c9e310
4 changed files with 19 additions and 2 deletions

View File

@@ -1498,7 +1498,9 @@ class DATA_PT_modifiers(ModifierButtonsPanel, Panel):
def WELD(self, layout, ob, md):
layout.prop(md, "merge_threshold", text="Distance")
layout.prop(md, "max_interactions")
layout.prop_search(md, "vertex_group", ob, "vertex_groups")
row = layout.row(align=True)
row.prop_search(md, "vertex_group", ob, "vertex_groups")
row.prop(md, "invert_vertex_group", text="", icon='ARROW_LEFTRIGHT')
def DATA_TRANSFER(self, layout, ob, md):
row = layout.row(align=True)