diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-07-05 01:41:05 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-07-05 01:41:05 +0400 |
commit | 2a140e93c173b4f358b15723c2d00f3c8bf292bb (patch) | |
tree | 1cd0ed6f759d3fb35946a64336442ba40efacf38 /release/scripts/startup/bl_ui | |
parent | 9f22750422940681dba14839a762c6f8bf02dba6 (diff) |
style cleanup
Diffstat (limited to 'release/scripts/startup/bl_ui')
8 files changed, 19 insertions, 19 deletions
diff --git a/release/scripts/startup/bl_ui/properties_data_modifier.py b/release/scripts/startup/bl_ui/properties_data_modifier.py index abcd27c308e..7485e532bd4 100644 --- a/release/scripts/startup/bl_ui/properties_data_modifier.py +++ b/release/scripts/startup/bl_ui/properties_data_modifier.py @@ -971,8 +971,8 @@ class DATA_PT_modifiers(ModifierButtonsPanel, Panel): split = layout.split() col = split.column(align=True) - col.operator("object.skin_loose_mark_clear", text="Mark Loose").action = "MARK" - col.operator("object.skin_loose_mark_clear", text="Clear Loose").action = "CLEAR" + col.operator("object.skin_loose_mark_clear", text="Mark Loose").action = 'MARK' + col.operator("object.skin_loose_mark_clear", text="Clear Loose").action = 'CLEAR' col = split.column() col.operator("object.skin_root_mark", text="Mark Root") diff --git a/release/scripts/startup/bl_ui/properties_game.py b/release/scripts/startup/bl_ui/properties_game.py index 0b6e4154050..c25c0c7d40d 100644 --- a/release/scripts/startup/bl_ui/properties_game.py +++ b/release/scripts/startup/bl_ui/properties_game.py @@ -454,7 +454,7 @@ class SCENE_PT_game_navmesh(SceneButtonsPanel, Panel): rd = context.scene.game_settings.recast_data - layout.operator("mesh.navmesh_make", text='Build navigation mesh') + layout.operator("mesh.navmesh_make", text="Build navigation mesh") col = layout.column() col.label(text="Rasterization:") diff --git a/release/scripts/startup/bl_ui/properties_object.py b/release/scripts/startup/bl_ui/properties_object.py index 86fc1dac4fc..68b261cc1d5 100644 --- a/release/scripts/startup/bl_ui/properties_object.py +++ b/release/scripts/startup/bl_ui/properties_object.py @@ -219,7 +219,7 @@ class OBJECT_PT_display(ObjectButtonsPanel, Panel): col = split.column() col.prop(ob, "show_name", text="Name") col.prop(ob, "show_axis", text="Axis") - if ob.type in {"MESH", "CURVE", "SURFACE", "META", "FONT"}: + if ob.type in {'MESH', 'CURVE', 'SURFACE', 'META', 'FONT'}: # Makes no sense for cameras, armtures, etc.! col.prop(ob, "show_wire", text="Wire") # Only useful with object having faces/materials... diff --git a/release/scripts/startup/bl_ui/properties_particle.py b/release/scripts/startup/bl_ui/properties_particle.py index a667125d4ea..8d220e5aae6 100644 --- a/release/scripts/startup/bl_ui/properties_particle.py +++ b/release/scripts/startup/bl_ui/properties_particle.py @@ -86,7 +86,7 @@ class PARTICLE_PT_context_particles(ParticleButtonsPanel, Panel): def draw(self, context): layout = self.layout - if context.scene.render.engine == "BLENDER_GAME": + if context.scene.render.engine == 'BLENDER_GAME': layout.label("Not available in the Game Engine") return diff --git a/release/scripts/startup/bl_ui/space_console.py b/release/scripts/startup/bl_ui/space_console.py index 5ec9d06ec89..7f9699f457b 100644 --- a/release/scripts/startup/bl_ui/space_console.py +++ b/release/scripts/startup/bl_ui/space_console.py @@ -74,7 +74,7 @@ class CONSOLE_MT_language(Menu): languages = [] for modname, mod in sys.modules.items(): if modname.startswith("console_") and hasattr(mod, "execute"): - languages.append(modname.split('_', 1)[-1]) + languages.append(modname.split("_", 1)[-1]) languages.sort() @@ -83,7 +83,7 @@ class CONSOLE_MT_language(Menu): def add_scrollback(text, text_type): - for l in text.split('\n'): + for l in text.split("\n"): bpy.ops.console.scrollback_append(text=l.replace('\t', ' '), type=text_type) diff --git a/release/scripts/startup/bl_ui/space_image.py b/release/scripts/startup/bl_ui/space_image.py index 44fb429ffe7..cfe5d66740c 100644 --- a/release/scripts/startup/bl_ui/space_image.py +++ b/release/scripts/startup/bl_ui/space_image.py @@ -797,12 +797,12 @@ class IMAGE_UV_sculpt_curve(Panel): layout.template_curve_mapping(brush, "curve") row = layout.row(align=True) - row.operator("brush.curve_preset", icon="SMOOTHCURVE", text="").shape = 'SMOOTH' - row.operator("brush.curve_preset", icon="SPHERECURVE", text="").shape = 'ROUND' - row.operator("brush.curve_preset", icon="ROOTCURVE", text="").shape = 'ROOT' - row.operator("brush.curve_preset", icon="SHARPCURVE", text="").shape = 'SHARP' - row.operator("brush.curve_preset", icon="LINCURVE", text="").shape = 'LINE' - row.operator("brush.curve_preset", icon="NOCURVE", text="").shape = 'MAX' + row.operator("brush.curve_preset", icon='SMOOTHCURVE', text="").shape = 'SMOOTH' + row.operator("brush.curve_preset", icon='SPHERECURVE', text="").shape = 'ROUND' + row.operator("brush.curve_preset", icon='ROOTCURVE', text="").shape = 'ROOT' + row.operator("brush.curve_preset", icon='SHARPCURVE', text="").shape = 'SHARP' + row.operator("brush.curve_preset", icon='LINCURVE', text="").shape = 'LINE' + row.operator("brush.curve_preset", icon='NOCURVE', text="").shape = 'MAX' class IMAGE_UV_sculpt(Panel, ImagePaintPanel): diff --git a/release/scripts/startup/bl_ui/space_sequencer.py b/release/scripts/startup/bl_ui/space_sequencer.py index 76053987843..a71a2870bee 100644 --- a/release/scripts/startup/bl_ui/space_sequencer.py +++ b/release/scripts/startup/bl_ui/space_sequencer.py @@ -117,7 +117,7 @@ class SEQUENCER_MT_view(Menu): layout.operator_context = 'INVOKE_DEFAULT' # # XXX, invokes in the header view - # layout.operator("sequencer.view_ghost_border", text='Overlay Border') + # layout.operator("sequencer.view_ghost_border", text="Overlay Border") layout.operator("sequencer.view_selected") @@ -820,7 +820,7 @@ class SEQUENCER_PT_proxy(SequencerButtonsPanel, Panel): col.label(text="Build JPEG quality") col.prop(strip.proxy, "quality") - if strip.type == "MOVIE": + if strip.type == 'MOVIE': col = layout.column() col.label(text="Use timecode index:") diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py index 3819ae60b49..55cc47d98d5 100644 --- a/release/scripts/startup/bl_ui/space_view3d.py +++ b/release/scripts/startup/bl_ui/space_view3d.py @@ -1121,7 +1121,7 @@ class VIEW3D_MT_brush(Menu): sculpt_tool = brush.sculpt_tool layout.separator() - layout.operator_menu_enum("brush.curve_preset", "shape", text='Curve Preset') + layout.operator_menu_enum("brush.curve_preset", "shape", text="Curve Preset") layout.separator() if sculpt_tool != 'GRAB': @@ -1772,7 +1772,7 @@ class VIEW3D_MT_edit_mesh_vertices(Menu): layout.operator("mesh.vertices_smooth") layout.operator("mesh.remove_doubles") - layout.operator("mesh.sort_elements", text="Sort Vertices").elements = {"VERT"} + layout.operator("mesh.sort_elements", text="Sort Vertices").elements = {'VERT'} layout.operator("mesh.select_vertex_path") @@ -1822,7 +1822,7 @@ class VIEW3D_MT_edit_mesh_edges(Menu): layout.operator("mesh.bevel") layout.operator("mesh.edge_split") layout.operator("mesh.bridge_edge_loops") - layout.operator("mesh.sort_elements", text="Sort Edges").elements = {"EDGE"} + layout.operator("mesh.sort_elements", text="Sort Edges").elements = {'EDGE'} layout.separator() @@ -1855,7 +1855,7 @@ class VIEW3D_MT_edit_mesh_faces(Menu): layout.operator("mesh.bevel") layout.operator("mesh.solidify") layout.operator("mesh.wireframe") - layout.operator("mesh.sort_elements", text="Sort Faces").elements = {"FACE"} + layout.operator("mesh.sort_elements", text="Sort Faces").elements = {'FACE'} layout.separator() |