diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-03-08 09:36:05 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-03-08 09:36:05 +0400 |
commit | ee84084f990da866c15a7b24e7c5945050c4a720 (patch) | |
tree | 4745614f51b378f3c5ba5a8ef84433b81a86e39b /release/scripts/startup | |
parent | e61339a76fe346f9d9bd45c01f60aa93506eee42 (diff) |
style cleanup: pep8 + picky edits
Diffstat (limited to 'release/scripts/startup')
4 files changed, 5 insertions, 6 deletions
diff --git a/release/scripts/startup/bl_operators/uvcalc_follow_active.py b/release/scripts/startup/bl_operators/uvcalc_follow_active.py index 0df86a3869e..d2a5d83c188 100644 --- a/release/scripts/startup/bl_operators/uvcalc_follow_active.py +++ b/release/scripts/startup/bl_operators/uvcalc_follow_active.py @@ -54,7 +54,7 @@ def extend(obj, operator, EXTEND_MODE): def face_edge_vs(vi): vlen = len(vi) - return [(vi[i], vi[(i+1) % vlen]) for i in range(vlen)] + return [(vi[i], vi[(i + 1) % vlen]) for i in range(vlen)] vidx_source = face_source.vertices vidx_target = face_target.vertices diff --git a/release/scripts/startup/bl_ui/properties_data_curve.py b/release/scripts/startup/bl_ui/properties_data_curve.py index fb365ea1fa4..b8e531dd729 100644 --- a/release/scripts/startup/bl_ui/properties_data_curve.py +++ b/release/scripts/startup/bl_ui/properties_data_curve.py @@ -197,7 +197,6 @@ class DATA_PT_pathanim(CurveButtonsPanelCurve, Panel): layout.prop(curve, "path_duration", text="Frames") layout.prop(curve, "eval_time") - # these are for paths only row = layout.row() row.prop(curve, "use_path_follow") diff --git a/release/scripts/startup/bl_ui/properties_data_modifier.py b/release/scripts/startup/bl_ui/properties_data_modifier.py index f3e4942f732..2dad06836f3 100644 --- a/release/scripts/startup/bl_ui/properties_data_modifier.py +++ b/release/scripts/startup/bl_ui/properties_data_modifier.py @@ -126,7 +126,7 @@ class DATA_PT_modifiers(ModifierButtonsPanel, Panel): split = layout.split() split.prop(md, "use_even_offset") split.prop(md, "use_distance_offset") - # -- end + # -- end layout.label(text="Limit Method:") layout.row().prop(md, "limit_method", expand=True) diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py index aee9c20d25c..e639300998a 100644 --- a/release/scripts/startup/bl_ui/space_view3d.py +++ b/release/scripts/startup/bl_ui/space_view3d.py @@ -527,10 +527,10 @@ class VIEW3D_MT_select_edit_mesh(Menu): layout.separator() - layout.operator("mesh.select_by_number_vertices", text = "By Number of Verts") + layout.operator("mesh.select_by_number_vertices", text="By Number of Verts") if context.scene.tool_settings.mesh_select_mode[2] == False: layout.operator("mesh.select_non_manifold", text="Non Manifold") - layout.operator("mesh.select_loose_verts", text = "Loose Verts/Edges") + layout.operator("mesh.select_loose_verts", text="Loose Verts/Edges") layout.operator("mesh.select_similar", text="Similar") layout.separator() @@ -1032,7 +1032,7 @@ class VIEW3D_MT_object_game(Menu): layout.operator("object.game_property_clear") - + # ********** Brush menu ********** class VIEW3D_MT_brush(Menu): bl_label = "Brush" |