made scripts pass the pep8 test (though not fully pep8 yet)

added comment in header to know if a script has been converted or not.
This commit is contained in:
Campbell Barton
2009-10-31 23:35:56 +00:00
parent 41c0236aaa
commit d964808846
41 changed files with 612 additions and 213 deletions

View File

@@ -3,8 +3,10 @@
# http://www.gnu.org/copyleft/gpl.html. Installing, importing or otherwise
# using this module constitutes acceptance of the terms of this License.
# <pep8 compliant>
import bpy
class DataButtonsPanel(bpy.types.Panel):
bl_space_type = 'PROPERTIES'
bl_region_type = 'WINDOW'
@@ -13,6 +15,7 @@ class DataButtonsPanel(bpy.types.Panel):
def poll(self, context):
return context.meta_ball
class DATA_PT_context_metaball(DataButtonsPanel):
bl_label = ""
bl_show_header = False
@@ -33,6 +36,7 @@ class DATA_PT_context_metaball(DataButtonsPanel):
split.template_ID(space, "pin_id")
split.itemS()
class DATA_PT_metaball(DataButtonsPanel):
bl_label = "Metaball"
@@ -56,6 +60,7 @@ class DATA_PT_metaball(DataButtonsPanel):
layout.itemL(text="Update:")
layout.itemR(mball, "flag", expand=True)
class DATA_PT_metaball_element(DataButtonsPanel):
bl_label = "Active Element"