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>2019-03-14 03:08:48 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-03-14 03:08:48 +0300
commit3ddd7e970400b45e325a5e5f7c9374ad0d56bbfd (patch)
treef7e68e6cc054e1949c2880c4542404ae5c316d2e /release/scripts/startup/bl_operators/object.py
parenta38205fbd801dabf943bea0ebe826bb46e9a0029 (diff)
Cleanup: style
Diffstat (limited to 'release/scripts/startup/bl_operators/object.py')
-rw-r--r--release/scripts/startup/bl_operators/object.py34
1 files changed, 18 insertions, 16 deletions
diff --git a/release/scripts/startup/bl_operators/object.py b/release/scripts/startup/bl_operators/object.py
index f74a783123b..65490e5f659 100644
--- a/release/scripts/startup/bl_operators/object.py
+++ b/release/scripts/startup/bl_operators/object.py
@@ -161,9 +161,10 @@ class SelectHierarchy(Operator):
bl_options = {'REGISTER', 'UNDO'}
direction: EnumProperty(
- items=(('PARENT', "Parent", ""),
- ('CHILD', "Child", ""),
- ),
+ items=(
+ ('PARENT', "Parent", ""),
+ ('CHILD', "Child", ""),
+ ),
name="Direction",
description="Direction to select in the hierarchy",
default='PARENT',
@@ -319,19 +320,20 @@ class ShapeTransfer(Operator):
bl_options = {'REGISTER', 'UNDO'}
mode: EnumProperty(
- items=(('OFFSET',
- "Offset",
- "Apply the relative positional offset",
- ),
- ('RELATIVE_FACE',
- "Relative Face",
- "Calculate relative position (using faces)",
- ),
- ('RELATIVE_EDGE',
- "Relative Edge",
- "Calculate relative position (using edges)",
- ),
- ),
+ items=(
+ ('OFFSET',
+ "Offset",
+ "Apply the relative positional offset",
+ ),
+ ('RELATIVE_FACE',
+ "Relative Face",
+ "Calculate relative position (using faces)",
+ ),
+ ('RELATIVE_EDGE',
+ "Relative Edge",
+ "Calculate relative position (using edges)",
+ ),
+ ),
name="Transformation Mode",
description="Relative shape positions to the new shape method",
default='OFFSET',