Cleanup: pep8

This commit is contained in:
2018-09-27 09:41:18 +10:00
parent c5c987cde9
commit 6ebe211644
7 changed files with 26 additions and 24 deletions

View File

@@ -30,6 +30,7 @@ STATUS_ERR_ACTIVE_FACE = (1 << 1)
STATUS_ERR_NOT_SELECTED = (1 << 2)
STATUS_ERR_NOT_QUAD = (1 << 3)
def extend(obj, operator, EXTEND_MODE):
import bmesh
me = obj.data

View File

@@ -1438,6 +1438,7 @@ class CLIP_MT_stabilize_2d_rotation_specials(Menu):
layout.operator("clip.stabilize_2d_rotation_select")
class CLIP_MT_pivot_pie(Menu):
bl_label = "Pivot Point"
@@ -1451,7 +1452,6 @@ class CLIP_MT_pivot_pie(Menu):
pie.prop_enum(context.space_data, "pivot_point", value='MEDIAN_POINT')
classes = (
CLIP_UL_tracking_objects,
CLIP_HT_header,

View File

@@ -232,6 +232,7 @@ class NLA_MT_edit_transform(Menu):
layout.operator("transform.transform", text="Extend").mode = 'TIME_EXTEND'
layout.operator("transform.transform", text="Scale").mode = 'TIME_SCALE'
class NLA_MT_snap_pie(Menu):
bl_label = "Snap"

View File

@@ -3822,7 +3822,6 @@ class VIEW3D_MT_pivot_pie(Menu):
pie.prop(context.scene.tool_settings, "use_transform_pivot_point_align", text="Center Points Only")
class VIEW3D_MT_orientations_pie(Menu):
bl_label = "Orientation"
@@ -3851,6 +3850,7 @@ class VIEW3D_MT_snap_pie(Menu):
pie.operator("view3d.snap_cursor_to_center", text="Cursor to Center", icon='CURSOR')
pie.operator("view3d.snap_cursor_to_active", text="Cursor to Active", icon='CURSOR')
class VIEW3D_MT_proportional_editing_falloff_pie(Menu):
bl_label = "Proportional Editing Falloff"