Cleanup: run autopep8 on release/scripts/startup/
This commit is contained in:
@@ -70,8 +70,8 @@ class CONSTRAINT_OT_normalize_target_weights(Operator):
|
||||
|
||||
class CONSTRAINT_OT_disable_keep_transform(Operator):
|
||||
"""Set the influence of this constraint to zero while """ \
|
||||
"""trying to maintain the object's transformation. Other active """ \
|
||||
"""constraints can still influence the final transformation"""
|
||||
"""trying to maintain the object's transformation. Other active """ \
|
||||
"""constraints can still influence the final transformation"""
|
||||
|
||||
bl_idname = "constraint.disable_keep_transform"
|
||||
bl_label = "Disable and Keep Transform"
|
||||
|
||||
@@ -247,7 +247,7 @@ class WM_OT_previews_batch_clear(Operator):
|
||||
|
||||
class WM_OT_blend_strings_utf8_validate(Operator):
|
||||
"""Check and fix all strings in current .blend file to be valid UTF-8 Unicode """ \
|
||||
"""(needed for some old, 2.4x area files)"""
|
||||
"""(needed for some old, 2.4x area files)"""
|
||||
bl_idname = "wm.blend_strings_utf8_validate"
|
||||
bl_label = "Validate .blend strings"
|
||||
bl_options = {'REGISTER'}
|
||||
|
||||
@@ -26,7 +26,6 @@ def geometry_node_group_empty_new():
|
||||
def geometry_modifier_poll(context):
|
||||
ob = context.object
|
||||
|
||||
|
||||
# Test object support for geometry node modifier
|
||||
if not ob or ob.type not in {'MESH', 'POINTCLOUD', 'VOLUME', 'CURVE', 'FONT', 'CURVES'}:
|
||||
return False
|
||||
|
||||
@@ -937,7 +937,7 @@ class LoadReferenceImage(LoadImageAsEmpty, Operator):
|
||||
|
||||
class OBJECT_OT_assign_property_defaults(Operator):
|
||||
"""Assign the current values of custom properties as their defaults, """ \
|
||||
"""for use as part of the rest pose state in NLA track mixing"""
|
||||
"""for use as part of the rest pose state in NLA track mixing"""
|
||||
bl_idname = "object.assign_property_defaults"
|
||||
bl_label = "Assign Custom Property Values as Default"
|
||||
bl_options = {'UNDO', 'REGISTER'}
|
||||
|
||||
@@ -1317,7 +1317,7 @@ class WM_OT_properties_edit(Operator):
|
||||
name="Array Length",
|
||||
default=3,
|
||||
min=1,
|
||||
max=32, # 32 is the maximum size for RNA array properties.
|
||||
max=32, # 32 is the maximum size for RNA array properties.
|
||||
)
|
||||
|
||||
# Integer properties.
|
||||
@@ -1511,7 +1511,7 @@ class WM_OT_properties_edit(Operator):
|
||||
elif self.property_type == 'STRING':
|
||||
self.default_string = rna_data["default"]
|
||||
|
||||
if self.property_type in { 'FLOAT_ARRAY', 'INT_ARRAY'}:
|
||||
if self.property_type in {'FLOAT_ARRAY', 'INT_ARRAY'}:
|
||||
self.array_length = len(item[name])
|
||||
|
||||
# The dictionary does not contain the description if it was empty.
|
||||
@@ -2940,9 +2940,9 @@ class WM_MT_splash_quick_setup(Menu):
|
||||
|
||||
layout.label(text="Quick Setup")
|
||||
|
||||
split = layout.split(factor=0.14) # Left margin.
|
||||
split = layout.split(factor=0.14) # Left margin.
|
||||
split.label()
|
||||
split = split.split(factor=0.73) # Content width.
|
||||
split = split.split(factor=0.73) # Content width.
|
||||
|
||||
col = split.column()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user