diff options
author | Joshua Leung <aligorith@gmail.com> | 2013-07-01 17:02:53 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2013-07-01 17:02:53 +0400 |
commit | 4f3f95751ad264eb6be10d3470425e93afc557f6 (patch) | |
tree | 2669cdf1db2637c5bb423f84e1b7d449222ebe76 /release/scripts/startup/bl_ui/properties_data_mesh.py | |
parent | 61d37cd47c89d57909df4025b85db39685ad220e (diff) |
Bugfix [#35936] Can't create new vertex group when using Ctrl G menu
This was caused by r.57812
There were two problems here:
1) vertex_group_vert_select_unlocked_poll() had faulty logic which meant that
it always failed when there were no vgroups present yet - the final return
always just fell through
2) Since the "Assign to New Groups" option was actually implemented using the
same operator as "Assign to Active Group" (just with an extra parameter set), if
the active group was locked, it was not possible to "Assign to New Group" (even
though a new group would not be locked).
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 655fd4045ee..b6ad14196cd 100644 --- a/release/scripts/startup/bl_ui/properties_data_mesh.py +++ b/release/scripts/startup/bl_ui/properties_data_mesh.py @@ -215,7 +215,7 @@ class DATA_PT_vertex_groups(MeshButtonsPanel, Panel): row = layout.row() sub = row.row(align=True) - sub.operator("object.vertex_group_assign", text="Assign").new = False + sub.operator("object.vertex_group_assign", text="Assign") sub.operator("object.vertex_group_remove_from", text="Remove") sub = row.row(align=True) |