diff options
author | Aaron Carlisle <carlisle.b3d@gmail.com> | 2020-02-27 01:33:17 +0300 |
---|---|---|
committer | Aaron Carlisle <carlisle.b3d@gmail.com> | 2020-02-27 01:33:17 +0300 |
commit | 1a1f2912e65e99a38528e4cf18094a29412e17d5 (patch) | |
tree | e1c63e83096138dfa343bc1e6bc52de00259fc41 | |
parent | 1d302df4f82e27d2d292bfab168f23a8f9d6b9cf (diff) |
UI: Clarify Laplacian Deform
- Match UI Style
- Clarify that the vertex group is different then other modifiers
-rw-r--r-- | release/scripts/startup/bl_ui/properties_data_modifier.py | 8 | ||||
-rw-r--r-- | source/blender/makesrna/intern/rna_modifier.c | 2 |
2 files changed, 3 insertions, 7 deletions
diff --git a/release/scripts/startup/bl_ui/properties_data_modifier.py b/release/scripts/startup/bl_ui/properties_data_modifier.py index 5028c78f4c3..158202b0ba3 100644 --- a/release/scripts/startup/bl_ui/properties_data_modifier.py +++ b/release/scripts/startup/bl_ui/properties_data_modifier.py @@ -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() diff --git a/source/blender/makesrna/intern/rna_modifier.c b/source/blender/makesrna/intern/rna_modifier.c index 9a4048e6aaa..cc0ebd8e6b2 100644 --- a/source/blender/makesrna/intern/rna_modifier.c +++ b/source/blender/makesrna/intern/rna_modifier.c @@ -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"); |