Cleanup: style

This commit is contained in:
Campbell Barton
2019-03-14 11:08:48 +11:00
parent a38205fbd8
commit 3ddd7e9704
4 changed files with 37 additions and 29 deletions

View File

@@ -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',