pep8 changes

This commit is contained in:
Campbell Barton
2009-12-16 13:27:30 +00:00
parent 3455261e17
commit 3ea2d08e1a
6 changed files with 129 additions and 112 deletions

View File

@@ -235,6 +235,7 @@ class DATA_PT_ghost(DataButtonsPanel):
col.label(text="Display:")
col.prop(arm, "ghost_only_selected", text="Selected Only")
class DATA_PT_iksolver_itasc(DataButtonsPanel):
bl_label = "iTaSC parameters"
bl_default_closed = True

View File

@@ -65,12 +65,13 @@ class SEQUENCER_HT_header(bpy.types.Header):
else:
layout.prop(st, "display_channel", text="Channel")
class SEQUENCER_MT_view_toggle(bpy.types.Menu):
bl_label = "View Type"
def draw(self, context):
layout = self.layout
layout.operator("sequencer.view_toggle").type = 'SEQUENCER'
layout.operator("sequencer.view_toggle").type = 'PREVIEW'
layout.operator("sequencer.view_toggle").type = 'SEQUENCER_PREVIEW'
@@ -281,7 +282,7 @@ class SEQUENCER_MT_strip(bpy.types.Menu):
class SequencerButtonsPanel(bpy.types.Panel):
bl_space_type = 'SEQUENCE_EDITOR'
bl_region_type = 'UI'
def has_sequencer(self, context):
return (context.space_data.view_type == 'SEQUENCER') or (context.space_data.view_type == 'SEQUENCER_PREVIEW')