diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-05-15 22:50:51 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-05-15 22:50:51 +0400 |
commit | eb22b5248229494bcab091e68cf7a354fe0cc0e3 (patch) | |
tree | 448c955af512c246583d36cc3a4c8caea7f3c831 /release/scripts/startup/bl_ui/properties_animviz.py | |
parent | e79c29a1d6985a4b1978a547f80ba6fc6be6b475 (diff) |
style cleanup: pep8
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_animviz.py')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_animviz.py | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/release/scripts/startup/bl_ui/properties_animviz.py b/release/scripts/startup/bl_ui/properties_animviz.py index 1f798f46590..3c1f910814a 100644 --- a/release/scripts/startup/bl_ui/properties_animviz.py +++ b/release/scripts/startup/bl_ui/properties_animviz.py @@ -35,7 +35,7 @@ class MotionPathButtonsPanel(): layout = self.layout mps = avs.motion_path - + # Display Range layout.prop(mps, "type", expand=True) @@ -50,21 +50,21 @@ class MotionPathButtonsPanel(): elif (mps.type == 'RANGE'): sub.prop(mps, "frame_start", text="Start") sub.prop(mps, "frame_end", text="End") - + sub.prop(mps, "frame_step", text="Step") - + col = split.column() if bones: col.label(text="Cache for Bone:") else: col.label(text="Cache:") - + if mpath: sub = col.column(align=True) sub.enabled = False sub.prop(mpath, "frame_start", text="From") sub.prop(mpath, "frame_end", text="To") - + if bones: col.operator("pose.paths_update", text="Update Paths", icon='BONE_DATA') else: @@ -72,15 +72,14 @@ class MotionPathButtonsPanel(): else: col.label(text="Not available yet...", icon='ERROR') col.label(text="Calculate Paths first", icon='INFO') - - + # Display Settings split = layout.split() - + col = split.column() col.label(text="Show:") col.prop(mps, "show_frame_numbers", text="Frame Numbers") - + col = split.column() col.prop(mps, "show_keyframe_highlight", text="Keyframes") sub = col.column() |