diff --git a/doc/python_api/examples/bpy.types.USDHook.py b/doc/python_api/examples/bpy.types.USDHook.py index 1bff9a9b6c7..56b4d9c03d0 100644 --- a/doc/python_api/examples/bpy.types.USDHook.py +++ b/doc/python_api/examples/bpy.types.USDHook.py @@ -50,9 +50,9 @@ import pxr.UsdShade as UsdShade class USDHookExample(bpy.types.USDHook): + """Example implementation of USD IO hooks""" bl_idname = "usd_hook_example" bl_label = "Example" - bl_description = "Example implementation of USD IO hooks" @staticmethod def on_export(export_context): diff --git a/scripts/startup/bl_operators/anim.py b/scripts/startup/bl_operators/anim.py index 28651454347..fe0f7bd4a5d 100644 --- a/scripts/startup/bl_operators/anim.py +++ b/scripts/startup/bl_operators/anim.py @@ -525,16 +525,11 @@ class ARMATURE_OT_copy_bone_color_to_selected(Operator): class ARMATURE_OT_collection_solo_visibility(Operator): - """Hide all other bone collections and show the active one. - - Note that it is necessary to also show the ancestors of the active bone - collection in order to ensure its visibility. - """ + """Hide all other bone collections and show the active one. """ \ + """Note that it is necessary to also show the ancestors of the active """ \ + """bone collection in order to ensure its visibility""" bl_idname = "armature.collection_solo_visibility" bl_label = "Solo Visibility" - bl_description = "Hide all other bone collections and show the active one. " + \ - "Note that it is necessary to also show the ancestors of the active " + \ - "bone collection in order to ensure its visibility" bl_options = {'REGISTER', 'UNDO'} name: StringProperty(name='Bone Collection') @@ -589,11 +584,11 @@ class ARMATURE_OT_collection_show_all(Operator): class ARMATURE_OT_collection_remove_unused(Operator): - """Remove all bone collections that have neither bones nor children.""" + """Remove all bone collections that have neither bones nor children.\n""" \ + """This is done recursively, so bone collections that only have unused children are also removed""" + bl_idname = "armature.collection_remove_unused" bl_label = "Remove Unused Bone Collections" - bl_description = ("Remove all bone collections that have neither bones nor children.\n" - "This is done recursively, so bone collections that only have unused children are also removed") bl_options = {'REGISTER', 'UNDO'} @classmethod diff --git a/scripts/startup/bl_operators/wm.py b/scripts/startup/bl_operators/wm.py index 63a8f1e9219..2a98c1e1fec 100644 --- a/scripts/startup/bl_operators/wm.py +++ b/scripts/startup/bl_operators/wm.py @@ -2655,10 +2655,11 @@ class BatchRenameAction(bpy.types.PropertyGroup): class WM_OT_batch_rename(Operator): + """Rename multiple items at once""" + bl_idname = "wm.batch_rename" bl_label = "Batch Rename" - bl_description = "Rename multiple items at once" bl_options = {'UNDO'} data_type: EnumProperty( diff --git a/scripts/startup/bl_ui/properties_grease_pencil_common.py b/scripts/startup/bl_ui/properties_grease_pencil_common.py index bda9e904c57..ed9c0c76fc3 100644 --- a/scripts/startup/bl_ui/properties_grease_pencil_common.py +++ b/scripts/startup/bl_ui/properties_grease_pencil_common.py @@ -884,9 +884,9 @@ class GreasePencilLayerDisplayPanel: class GreasePencilFlipTintColors(Operator): + """Switch tint colors""" bl_label = "Flip Colors" bl_idname = "gpencil.tint_flip" - bl_description = "Switch tint colors" @classmethod def poll(cls, context):