diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-03-12 02:59:57 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-03-12 03:05:28 +0300 |
commit | 3017d88aec7f3f44ba9db930920ac2a51aef750d (patch) | |
tree | 726484eaee7279c0ec6ab45d57b7679f3af2c8fc /release/scripts/startup/bl_ui/properties_data_mesh.py | |
parent | e6eb7b9ccee134f0f94cae6f817a29adf029a8d4 (diff) |
Cleanup: rename specials -> context_menu
In keeping with convention to match code & UI naming.
- No user visible changes.
- Include 'menu' in the name since context is an overloaded term.
- While a few of these are panels, from a user perspective they are
still context menus.
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_data_mesh.py')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_data_mesh.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/release/scripts/startup/bl_ui/properties_data_mesh.py b/release/scripts/startup/bl_ui/properties_data_mesh.py index 435217feae6..eacf027c491 100644 --- a/release/scripts/startup/bl_ui/properties_data_mesh.py +++ b/release/scripts/startup/bl_ui/properties_data_mesh.py @@ -22,7 +22,7 @@ from bpy.types import Menu, Panel, UIList from rna_prop_ui import PropertyPanel -class MESH_MT_vertex_group_specials(Menu): +class MESH_MT_vertex_group_context_menu(Menu): bl_label = "Vertex Group Specials" def draw(self, context): @@ -48,7 +48,7 @@ class MESH_MT_vertex_group_specials(Menu): layout.operator("object.vertex_group_lock", text="Lock Invert All").action = 'INVERT' -class MESH_MT_shape_key_specials(Menu): +class MESH_MT_shape_key_context_menu(Menu): bl_label = "Shape Key Specials" def draw(self, context): @@ -256,7 +256,7 @@ class DATA_PT_vertex_groups(MeshButtonsPanel, Panel): col.separator() - col.menu("MESH_MT_vertex_group_specials", icon='DOWNARROW_HLT', text="") + col.menu("MESH_MT_vertex_group_context_menu", icon='DOWNARROW_HLT', text="") if group: col.separator() @@ -360,7 +360,7 @@ class DATA_PT_shape_keys(MeshButtonsPanel, Panel): col.separator() - col.menu("MESH_MT_shape_key_specials", icon='DOWNARROW_HLT', text="") + col.menu("MESH_MT_shape_key_context_menu", icon='DOWNARROW_HLT', text="") if kb: col.separator() @@ -490,8 +490,8 @@ class DATA_PT_custom_props_mesh(MeshButtonsPanel, PropertyPanel, Panel): classes = ( - MESH_MT_vertex_group_specials, - MESH_MT_shape_key_specials, + MESH_MT_vertex_group_context_menu, + MESH_MT_shape_key_context_menu, MESH_UL_vgroups, MESH_UL_fmaps, MESH_UL_shape_keys, |