diff options
author | Sv. Lockal <lockalsash@gmail.com> | 2012-12-12 14:21:24 +0400 |
---|---|---|
committer | Sv. Lockal <lockalsash@gmail.com> | 2012-12-12 14:21:24 +0400 |
commit | dd2d54bae9ab2b95553c7c3ed04185fcf36a0420 (patch) | |
tree | 74653e7951dc447b8bd740b9bdbff59bb63cf74b /release/scripts/startup/bl_ui/properties_data_mesh.py | |
parent | 2713d4d5bd2298c4b978f6e7199d591e71eee951 (diff) |
Use own list of actions for Vertex Group Lock operator instead of reusing Select All actions.
Previous actions and descriptions were confusing, e. g. UnLock All used the description of Deselect All.
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_data_mesh.py')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_data_mesh.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/startup/bl_ui/properties_data_mesh.py b/release/scripts/startup/bl_ui/properties_data_mesh.py index 6125540d491..e33bed7ec6d 100644 --- a/release/scripts/startup/bl_ui/properties_data_mesh.py +++ b/release/scripts/startup/bl_ui/properties_data_mesh.py @@ -36,8 +36,8 @@ class MESH_MT_vertex_group_specials(Menu): layout.operator("object.vertex_group_mirror", icon='ARROW_LEFTRIGHT') layout.operator("object.vertex_group_remove", icon='X', text="Delete All").all = True layout.separator() - layout.operator("object.vertex_group_lock", icon='LOCKED', text="Lock All").action = 'SELECT' - layout.operator("object.vertex_group_lock", icon='UNLOCKED', text="UnLock All").action = 'DESELECT' + layout.operator("object.vertex_group_lock", icon='LOCKED', text="Lock All").action = 'LOCK' + layout.operator("object.vertex_group_lock", icon='UNLOCKED', text="UnLock All").action = 'UNLOCK' layout.operator("object.vertex_group_lock", icon='LOCKED', text="Lock Invert All").action = 'INVERT' |