use '' for enums rather then ""

This commit is contained in:
2009-08-22 08:48:01 +00:00
parent 977a50ad77
commit fe0dfc2315
39 changed files with 253 additions and 253 deletions

View File

@@ -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):