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_physics_fluid.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_physics_fluid.py')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_physics_fluid.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/release/scripts/startup/bl_ui/properties_physics_fluid.py b/release/scripts/startup/bl_ui/properties_physics_fluid.py index 26957c40ff3..94611808059 100644 --- a/release/scripts/startup/bl_ui/properties_physics_fluid.py +++ b/release/scripts/startup/bl_ui/properties_physics_fluid.py @@ -23,7 +23,7 @@ from bpy.app.translations import pgettext_iface as iface_ from bl_operators.presets import PresetMenu -class FLUID_MT_presets(PresetMenu): +class FLUID_PT_presets(PresetMenu): bl_label = "Fluid Presets" preset_subdir = "fluid" preset_operator = "script.execute_preset" @@ -242,7 +242,7 @@ class PHYSICS_PT_domain_gravity(PhysicButtonsPanel, Panel): col.prop(fluid, "simulation_scale", text="Meters") col = split.column() - FLUID_MT_presets.draw_menu(col, text="Viscosity Presets") + FLUID_PT_presets.draw_menu(col, text="Viscosity Presets") sub = col.column(align=True) sub.prop(fluid, "viscosity_base", text="Base") @@ -306,7 +306,7 @@ class PHYSICS_PT_domain_particles(PhysicButtonsPanel, Panel): classes = ( - FLUID_MT_presets, + FLUID_PT_presets, PHYSICS_PT_fluid, PHYSICS_PT_domain_gravity, PHYSICS_PT_domain_boundary, |