clear some pep8 warnings

This commit is contained in:
Campbell Barton
2010-05-16 12:15:04 +00:00
parent 6e66bfe110
commit 80de1162ee
6 changed files with 20 additions and 16 deletions

View File

@@ -23,6 +23,8 @@ import bpy
narrowui = bpy.context.user_preferences.view.properties_width_check
#cachetype can be 'PSYS' 'HAIR' 'SMOKE' etc
def point_cache_ui(self, context, cache, enabled, cachetype):
layout = self.layout
@@ -68,7 +70,7 @@ def point_cache_ui(self, context, cache, enabled, cachetype):
sub = col.column()
sub.enabled = enabled
sub.prop(cache, "quick_cache")
sub = col.column()
sub.enabled = bpy.data.file_is_saved
sub.prop(cache, "disk_cache")
@@ -103,6 +105,7 @@ def point_cache_ui(self, context, cache, enabled, cachetype):
col.operator("ptcache.free_bake_all", text="Free All Bakes")
col.operator("ptcache.bake_all", text="Update All To Frame").bake = False
def effector_weights_ui(self, context, weights):
layout = self.layout