pep8 cleanup and remove unused vars/imports

This commit is contained in:
2011-02-17 04:35:41 +00:00
parent f7295ad6d9
commit 812f238494
20 changed files with 61 additions and 97 deletions

View File

@@ -26,9 +26,7 @@ class INFO_HT_header(bpy.types.Header):
def draw(self, context):
layout = self.layout
wm = context.window_manager
window = context.window
sinfo = context.space_data
scene = context.scene
rd = scene.render
@@ -70,6 +68,7 @@ class INFO_HT_header(bpy.types.Header):
# XXX: BEFORE RELEASE, MOVE FILE MENU OUT OF INFO!!!
"""
sinfo = context.space_data
row = layout.row(align=True)
row.prop(sinfo, "show_report_debug", text="Debug")
row.prop(sinfo, "show_report_info", text="Info")