diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-11-19 06:09:51 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-11-19 06:09:51 +0300 |
commit | c1664dd78e8a31d891a311ef600b95452dfd4003 (patch) | |
tree | 415b925052f510f7190e2c625a5385e54e564f12 /release | |
parent | 5a093689570d27df5ecd7394284a670fc32234b5 (diff) |
[#24802] Invert vertex group not inverting armature modifier influence
the armature vertex group options only apply to Multi-Modifier, rename and edit the UI to make this clear.
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/ui/properties_data_modifier.py | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/release/scripts/ui/properties_data_modifier.py b/release/scripts/ui/properties_data_modifier.py index 8950a017022..49fc86e436e 100644 --- a/release/scripts/ui/properties_data_modifier.py +++ b/release/scripts/ui/properties_data_modifier.py @@ -52,25 +52,23 @@ class DATA_PT_modifiers(ModifierButtonsPanel, bpy.types.Panel): col = split.column() col.label(text="Object:") col.prop(md, "object", text="") - - col = split.column() - col.label(text="Vertex Group::") - col.prop_search(md, "vertex_group", ob, "vertex_groups", text="") - sub = col.column() - sub.active = bool(md.vertex_group) - sub.prop(md, "invert_vertex_group") - - split = layout.split() + col.prop(md, "use_deform_preserve_volume") col = split.column() col.label(text="Bind To:") col.prop(md, "use_vertex_groups", text="Vertex Groups") col.prop(md, "use_bone_envelopes", text="Bone Envelopes") + split = layout.split() + col = split.column() - col.label(text="Deformation:") - col.prop(md, "use_deform_preserve_volume") col.prop(md, "use_multi_modifier") + col = col.split() + col.active = md.use_multi_modifier + col.prop_search(md, "vertex_group_multi_modifier", ob, "vertex_groups", text="") + sub = col.column() + sub.active = bool(md.vertex_group_multi_modifier) + sub.prop(md, "invert_vertex_group_multi_modifier") def ARRAY(self, layout, ob, md): layout.prop(md, "fit_type") |