diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-06-20 17:32:31 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-06-20 17:32:31 +0300 |
commit | ab9e2dccd319df0fa4b782a49694cc0b0ca06adb (patch) | |
tree | bfa6ca4ea3c376f2301a4f1ee9ff41fb3c797dac /release/scripts/startup/bl_ui/properties_particle.py | |
parent | 1ccd70b7c1873a25f86fd967a9cad03008405377 (diff) |
Cleanup: follow naming conventions
Using panels for presets printed warnings for classes named as menus.
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_particle.py')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_particle.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/release/scripts/startup/bl_ui/properties_particle.py b/release/scripts/startup/bl_ui/properties_particle.py index 76e490ad07a..8b4104a6c04 100644 --- a/release/scripts/startup/bl_ui/properties_particle.py +++ b/release/scripts/startup/bl_ui/properties_particle.py @@ -83,7 +83,7 @@ class PARTICLE_MT_specials(Menu): layout.operator("particle.duplicate_particle_system") -class PARTICLE_MT_hair_dynamics_presets(PresetMenu): +class PARTICLE_PT_hair_dynamics_presets(PresetMenu): bl_label = "Hair Dynamics Presets" preset_subdir = "hair_dynamics" preset_operator = "script.execute_preset" @@ -349,7 +349,7 @@ class PARTICLE_PT_hair_dynamics(ParticleButtonsPanel, Panel): layout = self.layout layout.enabled = psys.use_hair_dynamics and psys.point_cache.is_baked is False - PARTICLE_MT_hair_dynamics_presets.draw_panel_header(layout) + PARTICLE_PT_hair_dynamics_presets.draw_panel_header(layout) def draw(self, context): layout = self.layout @@ -1879,7 +1879,7 @@ class PARTICLE_PT_custom_props(ParticleButtonsPanel, PropertyPanel, Panel): classes = ( PARTICLE_MT_specials, - PARTICLE_MT_hair_dynamics_presets, + PARTICLE_PT_hair_dynamics_presets, PARTICLE_UL_particle_systems, PARTICLE_PT_context_particles, PARTICLE_PT_emission, |