diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-01-02 20:59:46 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-01-02 20:59:46 +0400 |
commit | aa43cab8206a07a37dacb4e606ef6112c1054587 (patch) | |
tree | f24fc60286438135f9f080cdf355eb2f43a529b8 /release/scripts/startup/bl_ui/properties_data_mesh.py | |
parent | 1fc26516eaec2afa976af080e3072abda6e8065f (diff) |
weight paint buttons now work in weight paint vertex select mode
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_data_mesh.py')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_data_mesh.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/properties_data_mesh.py b/release/scripts/startup/bl_ui/properties_data_mesh.py index 710b49618e9..5be9e57356c 100644 --- a/release/scripts/startup/bl_ui/properties_data_mesh.py +++ b/release/scripts/startup/bl_ui/properties_data_mesh.py @@ -158,7 +158,7 @@ class DATA_PT_vertex_groups(MeshButtonsPanel, Panel): row = layout.row() row.prop(group, "name") - if ob.mode == 'EDIT' and ob.vertex_groups: + if ob.vertex_groups and (ob.mode == 'EDIT' or (ob.mode == 'WEIGHT_PAINT' and ob.type == 'MESH' and ob.data.use_paint_mask_vertex)): row = layout.row() sub = row.row(align=True) |