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_particle.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_particle.py')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_particle.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/release/scripts/startup/bl_ui/properties_particle.py b/release/scripts/startup/bl_ui/properties_particle.py index 4f774d63940..7d0f6de7b1b 100644 --- a/release/scripts/startup/bl_ui/properties_particle.py +++ b/release/scripts/startup/bl_ui/properties_particle.py @@ -65,7 +65,7 @@ def particle_get_settings(context): return None -class PARTICLE_MT_specials(Menu): +class PARTICLE_MT_context_menu(Menu): bl_label = "Particle Specials" COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_EEVEE', 'BLENDER_WORKBENCH'} @@ -179,7 +179,7 @@ class PARTICLE_PT_context_particles(ParticleButtonsPanel, Panel): col.separator() - col.menu("PARTICLE_MT_specials", icon='DOWNARROW_HLT', text="") + col.menu("PARTICLE_MT_context_menu", icon='DOWNARROW_HLT', text="") if psys is None: part = particle_get_settings(context) @@ -2107,7 +2107,7 @@ class PARTICLE_PT_textures(ParticleButtonsPanel, Panel): col = row.column(align=True) col.operator("texture.slot_move", text="", icon='TRIA_UP').type = 'UP' col.operator("texture.slot_move", text="", icon='TRIA_DOWN').type = 'DOWN' - col.menu("TEXTURE_MT_specials", icon='DOWNARROW_HLT', text="") + col.menu("TEXTURE_MT_context_menu", icon='DOWNARROW_HLT', text="") if not part.active_texture: layout.template_ID(part, "active_texture", new="texture.new") @@ -2152,7 +2152,7 @@ class PARTICLE_PT_custom_props(ParticleButtonsPanel, PropertyPanel, Panel): classes = ( - PARTICLE_MT_specials, + PARTICLE_MT_context_menu, PARTICLE_PT_hair_dynamics_presets, PARTICLE_UL_particle_systems, PARTICLE_PT_context_particles, |