pep8 edits
authorCampbell Barton <ideasman42@gmail.com>
Sun, 13 Nov 2011 14:38:00 +0000 (14:38 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Sun, 13 Nov 2011 14:38:00 +0000 (14:38 +0000)
release/scripts/startup/bl_ui/properties_data_modifier.py
release/scripts/startup/bl_ui/properties_texture.py

index f1b6f0baeb1caf9788a7fac759963908c4055b6f..17faf5b662754b464bfbdd700212809a75b2d847 100644 (file)
@@ -420,14 +420,14 @@ class DATA_PT_modifiers(ModifierButtonsPanel, Panel):
             return
 
         layout.prop(md, "geometry_mode")
-        
+
         if md.geometry_mode == 'GENERATE':
             row = layout.row()
             row.prop(md, "repeat_x")
             row.prop(md, "repeat_y")
 
         layout.separator()
-        
+
         flow = layout.column_flow()
         flow.prop(md, "time")
         flow.prop(md, "resolution")
@@ -435,15 +435,15 @@ class DATA_PT_modifiers(ModifierButtonsPanel, Panel):
         flow.prop(md, "depth")
 
         layout.label("Waves:")
-        
+
         split = layout.split()
-        
+
         col = split.column()
         col.prop(md, "choppiness")
         col.prop(md, "wave_scale", text="Scale")
         col.prop(md, "smallest_wave")
         col.prop(md, "wind_velocity")
-        
+
         col = split.column()
         col.prop(md, "wave_alignment", text="Alignment")
         sub = col.column()
@@ -452,33 +452,33 @@ class DATA_PT_modifiers(ModifierButtonsPanel, Panel):
         sub.prop(md, "damp")
 
         layout.separator()
-        
+
         layout.prop(md, "generate_normals")
-        
+
         row = layout.row()
         row.prop(md, "generate_foam")
         sub = row.row()
         sub.active = md.generate_foam
         sub.prop(md, "foam_coverage", text="Coverage")
-        
+
         layout.separator()
 
         if md.is_cached:
-            layout.operator("object.ocean_bake", text="Free Bake").free=True
+            layout.operator("object.ocean_bake", text="Free Bake").free = True
         else:
             layout.operator("object.ocean_bake")
-            
+
         split = layout.split()
         split.enabled = not md.is_cached
-        
+
         col = split.column(align=True)
         col.prop(md, "bake_start", text="Start")
         col.prop(md, "bake_end", text="End")
-        
+
         col = split.column(align=True)
         col.label(text="Cache path:")
         col.prop(md, "filepath", text="")
-        
+
         #col.prop(md, "bake_foam_fade")
 
     def PARTICLE_INSTANCE(self, layout, ob, md):
index 70c231b11bf6b679b5bb3a1c5231d4d955958edf..6b4cfa8fb9587b38d18fd2e877f457dac5e89d3b 100644 (file)
@@ -778,14 +778,14 @@ class TEXTURE_PT_ocean(TextureTypePanel, Panel):
     bl_label = "Ocean"
     tex_type = 'OCEAN'
     COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_GAME'}
-    
+
     def draw(self, context):
         layout = self.layout
-        
+
         tex = context.texture
         ot = tex.ocean
-    
-        col = layout.column()        
+
+        col = layout.column()
         col.prop(ot, "ocean_object")
         col.prop(ot, "output")