diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-02-08 08:25:07 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-02-08 08:30:27 +0300 |
commit | c6abfa6114b39d7261fa2286adb9494f092247cb (patch) | |
tree | 510c15c1ff890ce2cf144e0b6742dc3388dd8171 /release/scripts | |
parent | d989d8a37456da5b79b6c3a3d8278888e5f06ad0 (diff) |
Fix for mask modifier invert UI missing
D1066 by @gregzaal
Diffstat (limited to 'release/scripts')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_data_modifier.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/properties_data_modifier.py b/release/scripts/startup/bl_ui/properties_data_modifier.py index 283340bd9e1..ec60f1caec8 100644 --- a/release/scripts/startup/bl_ui/properties_data_modifier.py +++ b/release/scripts/startup/bl_ui/properties_data_modifier.py @@ -458,7 +458,11 @@ class DATA_PT_modifiers(ModifierButtonsPanel, Panel): col = split.column() if md.mode == 'ARMATURE': col.label(text="Armature:") - col.prop(md, "armature", text="") + row = col.row(align=True) + row.prop(md, "armature", text="") + sub = row.row(align=True) + sub.active = (md.armature is not None) + sub.prop(md, "invert_vertex_group", text="", icon='ARROW_LEFTRIGHT') elif md.mode == 'VERTEX_GROUP': col.label(text="Vertex Group:") row = col.row(align=True) |