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"