Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-03-12 02:59:57 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-03-12 03:05:28 +0300
commit3017d88aec7f3f44ba9db930920ac2a51aef750d (patch)
tree726484eaee7279c0ec6ab45d57b7679f3af2c8fc /release/scripts/startup/bl_ui/properties_material.py
parente6eb7b9ccee134f0f94cae6f817a29adf029a8d4 (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_material.py')
-rw-r--r--release/scripts/startup/bl_ui/properties_material.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/release/scripts/startup/bl_ui/properties_material.py b/release/scripts/startup/bl_ui/properties_material.py
index b05955e3598..4871d9f6f87 100644
--- a/release/scripts/startup/bl_ui/properties_material.py
+++ b/release/scripts/startup/bl_ui/properties_material.py
@@ -24,7 +24,7 @@ from bpy.app.translations import pgettext_iface as iface_
from bpy_extras.node_utils import find_node_input
-class MATERIAL_MT_specials(Menu):
+class MATERIAL_MT_context_menu(Menu):
bl_label = "Material Specials"
def draw(self, context):
@@ -119,7 +119,7 @@ class EEVEE_MATERIAL_PT_context_material(MaterialButtonsPanel, Panel):
col.separator()
- col.menu("MATERIAL_MT_specials", icon='DOWNARROW_HLT', text="")
+ col.menu("MATERIAL_MT_context_menu", icon='DOWNARROW_HLT', text="")
if is_sortable:
col.separator()
@@ -258,7 +258,7 @@ class MATERIAL_PT_viewport(MaterialButtonsPanel, Panel):
classes = (
- MATERIAL_MT_specials,
+ MATERIAL_MT_context_menu,
MATERIAL_UL_matslots,
MATERIAL_PT_preview,
EEVEE_MATERIAL_PT_context_material,