From 6b698e3e5a1aa114b0e9adf7c4a501017ef83a43 Mon Sep 17 00:00:00 2001 From: Dalai Felinto Date: Tue, 9 Jul 2024 18:21:20 +0200 Subject: [PATCH] Captalize the UI according to Blender's guideline --- __init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/__init__.py b/__init__.py index 028559e..8b1a541 100644 --- a/__init__.py +++ b/__init__.py @@ -58,7 +58,7 @@ class VIEW3D_AST_library_assets(bpy.types.AssetShelf): layout.operator("asset.col_link", text="Link and Override").create_override = True layout.separator() if _asset.id_type == 'TEXT': - layout.operator("asset.script_execute", text="Run script") + layout.operator("asset.script_execute", text="Run Script") layout.separator() layout.operator("asset.open_containing_blend_file") @@ -116,7 +116,7 @@ class ASSET_OT_col_link(Operator): create_override: BoolProperty(name="Create Override", default=False) create_instance: BoolProperty(name="Create Instance", default=False) - snap_to_cursor: BoolProperty(name="Snap to 3D cursor", default=True) + snap_to_cursor: BoolProperty(name="Snap to 3D Cursor", default=True) @classmethod def poll(cls, context: Context): @@ -152,7 +152,7 @@ class ASSET_OT_col_link(Operator): class ASSET_OT_script_execute(Operator): bl_idname = "asset.script_execute" bl_label = "Run Script" - bl_description = "Runs python script." + bl_description = "Runs Python script." bl_options = {'REGISTER', 'UNDO'} @classmethod -- 2.30.2