UI: Clarify Laplacian Deform
- Match UI Style - Clarify that the vertex group is different then other modifiers
This commit is contained in:
parent
1d302df4f8
commit
1a1f2912e6
@ -494,13 +494,9 @@ class DATA_PT_modifiers(ModifierButtonsPanel, Panel):
|
||||
|
||||
layout.prop(md, "iterations")
|
||||
|
||||
row = layout.row()
|
||||
row.active = not is_bind
|
||||
row.label(text="Anchors Vertex Group:")
|
||||
|
||||
row = layout.row()
|
||||
row = layout.row(align=True)
|
||||
row.enabled = not is_bind
|
||||
row.prop_search(md, "vertex_group", ob, "vertex_groups", text="")
|
||||
row.prop_search(md, "vertex_group", ob, "vertex_groups")
|
||||
row.prop(md, "invert_vertex_group", text="", icon='ARROW_LEFTRIGHT')
|
||||
|
||||
layout.separator()
|
||||
|
@ -5635,7 +5635,7 @@ static void rna_def_modifier_laplaciandeform(BlenderRNA *brna)
|
||||
prop = RNA_def_property(srna, "vertex_group", PROP_STRING, PROP_NONE);
|
||||
RNA_def_property_string_sdna(prop, NULL, "anchor_grp_name");
|
||||
RNA_def_property_ui_text(
|
||||
prop, "Vertex Group for Anchors", "Name of Vertex Group which determines Anchors");
|
||||
prop, "Anchor Weights", "Name of Vertex Group which determines Anchors");
|
||||
RNA_def_property_string_funcs(
|
||||
prop, NULL, NULL, "rna_LaplacianDeformModifier_anchor_grp_name_set");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user