From 6f71a8f4c4770f2f83aa07365b59bd085b20ec5c Mon Sep 17 00:00:00 2001 From: themancalledjakob Date: Thu, 8 Aug 2024 11:32:39 +0200 Subject: [PATCH] prepare name refactor --- __init__.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/__init__.py b/__init__.py index 7379c5a..7c53757 100644 --- a/__init__.py +++ b/__init__.py @@ -413,16 +413,16 @@ class FONT3D_PT_FontCreation(bpy.types.Panel): layout.row().label(text="Font name import infix:") layout.row().prop(font3d, "import_infix", text="") - layout.row().operator('font3d.create_font_from_objects', text='Create Font') - layout.row().operator('font3d.save_font_to_file', text='Save Font To File') - layout.row().operator('font3d.toggle_font3d_collection', text='Toggle Collection') + layout.row().operator(f"{__name__}.create_font_from_objects", text='Create Font') + layout.row().operator(f"{__name__}.save_font_to_file", text='Save Font To File') + layout.row().operator(f"{__name__}.toggle_font3d_collection", text='Toggle Collection') box = layout.box() box.label(text="metrics") box.row().operator(f"{__name__}.add_default_metrics", text='Add Default Metrics') box.row().operator(f"{__name__}.remove_metrics", text='Remove Metrics') box.row().operator(f"{__name__}.align_metrics", text='Align Metrics') box.row().operator(f"{__name__}.align_metrics_to_active_object", text='Align Metrics to Active Object') - layout.row().operator('font3d.temporaryhelper', text='Debug Function Do Not Use') + layout.row().operator(f"{__name__}.temporaryhelper", text='Debug Function Do Not Use') class FONT3D_PT_TextPropertiesPanel(bpy.types.Panel): bl_label = "Text Properties"