Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-09-27 02:41:18 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-09-27 02:41:18 +0300
commit6ebe21164468fe231749bea29d5152493ea61d42 (patch)
tree0da2be7881e8a0133169b452983d7ecbf2ee843d /release/scripts/startup/bl_ui
parentc5c987cde9da3f19280856f53a82024d0646ee50 (diff)
Cleanup: pep8
Diffstat (limited to 'release/scripts/startup/bl_ui')
-rw-r--r--release/scripts/startup/bl_ui/properties_grease_pencil_common.py8
-rw-r--r--release/scripts/startup/bl_ui/properties_material_gpencil.py4
-rw-r--r--release/scripts/startup/bl_ui/space_clip.py2
-rw-r--r--release/scripts/startup/bl_ui/space_nla.py1
-rw-r--r--release/scripts/startup/bl_ui/space_view3d.py2
5 files changed, 9 insertions, 8 deletions
diff --git a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
index c31c982eb87..188b0fbd65a 100644
--- a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
+++ b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
@@ -267,12 +267,12 @@ class GreasePencilStrokeSculptPanel:
layout.row().prop(brush, "direction", expand=True)
elif tool == 'PINCH':
row = layout.row(align=True)
- row.prop_enum(brush, "direction", value='ADD', text="Pinch")
- row.prop_enum(brush, "direction", value='SUBTRACT', text="Inflate")
+ row.prop_enum(brush, "direction", value='ADD', text="Pinch")
+ row.prop_enum(brush, "direction", value='SUBTRACT', text="Inflate")
elif settings.tool == 'TWIST':
row = layout.row(align=True)
- row.prop_enum(brush, "direction", value='ADD', text="CCW")
- row.prop_enum(brush, "direction", value='SUBTRACT', text="CW")
+ row.prop_enum(brush, "direction", value='ADD', text="CCW")
+ row.prop_enum(brush, "direction", value='SUBTRACT', text="CW")
class GreasePencilSculptOptionsPanel:
diff --git a/release/scripts/startup/bl_ui/properties_material_gpencil.py b/release/scripts/startup/bl_ui/properties_material_gpencil.py
index c9cdd955ec7..933449c5adb 100644
--- a/release/scripts/startup/bl_ui/properties_material_gpencil.py
+++ b/release/scripts/startup/bl_ui/properties_material_gpencil.py
@@ -147,8 +147,8 @@ class MATERIAL_PT_gpencil_slots(Panel):
if gpd.use_stroke_edit_mode:
row = layout.row(align=True)
row.operator("gpencil.stroke_change_color", text="Assign")
- row.operator("gpencil.color_select", text="Select").deselect=False
- row.operator("gpencil.color_select", text="Deselect").deselect=True
+ row.operator("gpencil.color_select", text="Select").deselect = False
+ row.operator("gpencil.color_select", text="Deselect").deselect = True
elif mat:
row.template_ID(space, "pin_id")
diff --git a/release/scripts/startup/bl_ui/space_clip.py b/release/scripts/startup/bl_ui/space_clip.py
index 81feab206ed..05baf619b7c 100644
--- a/release/scripts/startup/bl_ui/space_clip.py
+++ b/release/scripts/startup/bl_ui/space_clip.py
@@ -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,
diff --git a/release/scripts/startup/bl_ui/space_nla.py b/release/scripts/startup/bl_ui/space_nla.py
index 69413d46c1f..38b6aef99ac 100644
--- a/release/scripts/startup/bl_ui/space_nla.py
+++ b/release/scripts/startup/bl_ui/space_nla.py
@@ -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"
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py
index 8a3442f35e5..6877a45013a 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -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"