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 <campbell@blender.org>2022-04-11 04:40:58 +0300
committerCampbell Barton <campbell@blender.org>2022-04-11 04:40:58 +0300
commit1c264ebdc089ea6afef7be4edeb1add4998a1099 (patch)
tree9de0d2e3c4b48a6210f141f33e7d173c279002e5 /release/scripts/startup
parent2e77a8f9748fdf6311b6956d299e76cf05e6823d (diff)
Cleanup: quotes, line length
Diffstat (limited to 'release/scripts/startup')
-rw-r--r--release/scripts/startup/bl_ui/properties_data_armature.py17
1 files changed, 10 insertions, 7 deletions
diff --git a/release/scripts/startup/bl_ui/properties_data_armature.py b/release/scripts/startup/bl_ui/properties_data_armature.py
index 6980f07eba4..bb2491d7720 100644
--- a/release/scripts/startup/bl_ui/properties_data_armature.py
+++ b/release/scripts/startup/bl_ui/properties_data_armature.py
@@ -177,7 +177,7 @@ class DATA_PT_pose_library(ArmatureButtonsPanel, Panel):
col.label(text="which was replaced by the Asset Browser.")
url = self.get_manual_url()
- col.operator('wm.url_open', text="More Info", icon="URL").url = url
+ col.operator("wm.url_open", text="More Info", icon='URL').url = url
layout.separator()
@@ -188,12 +188,12 @@ class DATA_PT_pose_library(ArmatureButtonsPanel, Panel):
col.template_ID(ob, "pose_library", new="poselib.new", unlink="poselib.unlink")
if poselib:
- if hasattr(bpy.types, 'POSELIB_OT_convert_old_object_poselib'):
- col.operator('poselib.convert_old_object_poselib',
- text="Convert to Pose Assets", icon="ASSET_MANAGER")
+ if hasattr(bpy.types, "POSELIB_OT_convert_old_object_poselib"):
+ col.operator("poselib.convert_old_object_poselib",
+ text="Convert to Pose Assets", icon='ASSET_MANAGER')
else:
- col.label(text="Enable the Pose Library add-on to convert", icon="ERROR")
- col.label(text="this legacy pose library to pose assets.", icon="BLANK1")
+ col.label(text="Enable the Pose Library add-on to convert", icon='ERROR')
+ col.label(text="this legacy pose library to pose assets.", icon='BLANK1')
# Put the deprecated stuff in its own sub-layout.
@@ -202,7 +202,10 @@ class DATA_PT_pose_library(ArmatureButtonsPanel, Panel):
# warning about poselib being in an invalid state
if poselib.fcurves and not poselib.pose_markers:
- dep_layout.label(icon='ERROR', text="Error: Potentially corrupt library, run 'Sanitize' operator to fix")
+ dep_layout.label(
+ icon='ERROR',
+ text="Error: Potentially corrupt library, run 'Sanitize' operator to fix",
+ )
# list of poses in pose library
row = dep_layout.row()