diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-08-22 12:48:01 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-08-22 12:48:01 +0400 |
commit | fe0dfc23159e93a7d8d544749ff5e87f0ba6191f (patch) | |
tree | 2ee49e4ef6ffc51aa61dadb2300c0cc7fbfc7913 /release/ui/buttons_physics_field.py | |
parent | 977a50ad77b8c31329a6fb6117741c83a984a763 (diff) |
use '' for enums rather then ""
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): |