[Bf-blender-cvs] [1c264ebdc08] master: Cleanup: quotes, line length
Campbell Barton
noreply at git.blender.org
Mon Apr 11 04:07:25 CEST 2022
Commit: 1c264ebdc089ea6afef7be4edeb1add4998a1099
Author: Campbell Barton
Date: Mon Apr 11 11:40:58 2022 +1000
Branches: master
https://developer.blender.org/rB1c264ebdc089ea6afef7be4edeb1add4998a1099
Cleanup: quotes, line length
===================================================================
M release/scripts/startup/bl_ui/properties_data_armature.py
===================================================================
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()
More information about the Bf-blender-cvs
mailing list