style cleanup: pep8, also quiet compiler warning.
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
import bpy
|
||||
from bpy.types import Panel, Menu
|
||||
|
||||
|
||||
class FLUID_MT_presets(Menu):
|
||||
bl_label = "Fluid Presets"
|
||||
preset_subdir = "fluid"
|
||||
@@ -232,7 +233,7 @@ class PHYSICS_PT_domain_gravity(PhysicButtonsPanel, Panel):
|
||||
sub.menu("FLUID_MT_presets", text=bpy.types.FLUID_MT_presets.bl_label)
|
||||
sub.operator("fluid.preset_add", text="", icon='ZOOMIN')
|
||||
sub.operator("fluid.preset_add", text="", icon='ZOOMOUT').remove_active = True
|
||||
|
||||
|
||||
subsub = col.column(align=True)
|
||||
subsub.prop(fluid, "viscosity_base", text="Base")
|
||||
subsub.prop(fluid, "viscosity_exponent", text="Exponent", slider=True)
|
||||
|
Reference in New Issue
Block a user