diff options
Diffstat (limited to 'release/ui/buttons_physics_field.py')
-rw-r--r-- | release/ui/buttons_physics_field.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/release/ui/buttons_physics_field.py b/release/ui/buttons_physics_field.py index fb29dd92833..3c68327ba79 100644 --- a/release/ui/buttons_physics_field.py +++ b/release/ui/buttons_physics_field.py @@ -2,8 +2,8 @@ import bpy class PhysicButtonsPanel(bpy.types.Panel): - __space_type__ = "PROPERTIES" - __region_type__ = "WINDOW" + __space_type__ = 'PROPERTIES' + __region_type__ = 'WINDOW' __context__ = "physics" def poll(self, context): @@ -146,15 +146,15 @@ class PHYSICS_PT_field(PhysicButtonsPanel): sub.active = field.use_radial_max sub.itemR(field, "radial_maximum", text="Distance") - #if ob.type in "CURVE": - #if field.type == "GUIDE": + #if ob.type in 'CURVE': + #if field.type == 'GUIDE': #colsub = col.column(align=True) - #if field.type != "NONE": + #if field.type != 'NONE': #layout.itemR(field, "strength") - #if field.type in ("HARMONIC", "SPHERICAL", "CHARGE", "LENNARDj"): - #if ob.type in ("MESH", "SURFACE", "FONT", "CURVE"): + #if field.type in ('HARMONIC', 'SPHERICAL', 'CHARGE', "LENNARDj"): + #if ob.type in ('MESH', 'SURFACE', 'FONT', 'CURVE'): #layout.itemR(field, "surface") class PHYSICS_PT_collision(PhysicButtonsPanel): |