diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2011-11-16 17:39:58 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2011-11-16 17:39:58 +0400 |
commit | 7177ee0245713ed22fda6e9ffbbac4e6391910c8 (patch) | |
tree | 59a32c1f446a00bca3dd3879ae81c311b040a44d | |
parent | c4e029a274b04ec6adb5e16a6c1ee5bea67fa01e (diff) |
Pep8 changes for motion tracking py scripts
-rw-r--r-- | release/scripts/startup/bl_operators/clip.py | 7 | ||||
-rw-r--r-- | release/scripts/startup/bl_ui/space_clip.py | 9 |
2 files changed, 11 insertions, 5 deletions
diff --git a/release/scripts/startup/bl_operators/clip.py b/release/scripts/startup/bl_operators/clip.py index 7900cb46e95..b805178bdc8 100644 --- a/release/scripts/startup/bl_operators/clip.py +++ b/release/scripts/startup/bl_operators/clip.py @@ -36,6 +36,7 @@ def CLIP_track_view_selected(sc, track): return False + class CLIP_OT_track_to_empty(Operator): """Create an Empty object which will be copying movement of active track""" @@ -190,7 +191,8 @@ class CLIP_OT_delete_proxy(Operator): class CLIP_OT_set_viewport_background(Operator): - """Set current movie clip as a camera background in 3D viewport (works only when a 3D viewport is visible)""" + """Set current movie clip as a camera background in 3D viewport \ +(works only when a 3D viewport is visible)""" bl_idname = "clip.set_viewport_background" bl_label = "Set as Background" @@ -239,7 +241,8 @@ class CLIP_OT_set_viewport_background(Operator): class CLIP_OT_constraint_to_fcurve(Operator): - """Create F-Curves for object which will copy object's movement caused by this constraint""" + """Create F-Curves for object which will copy \ +object's movement caused by this constraint""" bl_idname = "clip.constraint_to_fcurve" bl_label = "Constraint to F-Curve" diff --git a/release/scripts/startup/bl_ui/space_clip.py b/release/scripts/startup/bl_ui/space_clip.py index c6af6bab1d1..aa1ffe4ca36 100644 --- a/release/scripts/startup/bl_ui/space_clip.py +++ b/release/scripts/startup/bl_ui/space_clip.py @@ -54,7 +54,8 @@ class CLIP_HT_header(Header): row = layout.row(align=True) if sc.show_filters: - row.prop(sc, "show_filters", icon='DISCLOSURE_TRI_DOWN', text="Filters") + row.prop(sc, "show_filters", icon='DISCLOSURE_TRI_DOWN', + text="Filters") sub = row.column() sub.active = clip.tracking.reconstruction.is_valid @@ -62,7 +63,8 @@ class CLIP_HT_header(Header): row.prop(sc, "show_graph_tracks", icon='ANIM', text="") else: - row.prop(sc, "show_filters", icon='DISCLOSURE_TRI_RIGHT', text="Filters") + row.prop(sc, "show_filters", icon='DISCLOSURE_TRI_RIGHT', + text="Filters") row = layout.row() row.template_ID(sc, "clip", open='clip.open') @@ -719,7 +721,8 @@ class CLIP_MT_track(Menu): props = layout.operator("clip.clear_track_path", text="Clear Before") props.action = 'UPTO' - props = layout.operator("clip.clear_track_path", text="Clear Track Path") + props = layout.operator("clip.clear_track_path", + text="Clear Track Path") props.action = 'ALL' layout.separator() |