prepare name refactor

This commit is contained in:
themancalledjakob 2024-08-08 11:32:39 +02:00
parent 99f068e4fe
commit 6f71a8f4c4

View file

@ -413,16 +413,16 @@ class FONT3D_PT_FontCreation(bpy.types.Panel):
layout.row().label(text="Font name import infix:") layout.row().label(text="Font name import infix:")
layout.row().prop(font3d, "import_infix", text="") layout.row().prop(font3d, "import_infix", text="")
layout.row().operator('font3d.create_font_from_objects', text='Create Font') layout.row().operator(f"{__name__}.create_font_from_objects", text='Create Font')
layout.row().operator('font3d.save_font_to_file', text='Save Font To File') layout.row().operator(f"{__name__}.save_font_to_file", text='Save Font To File')
layout.row().operator('font3d.toggle_font3d_collection', text='Toggle Collection') layout.row().operator(f"{__name__}.toggle_font3d_collection", text='Toggle Collection')
box = layout.box() box = layout.box()
box.label(text="metrics") box.label(text="metrics")
box.row().operator(f"{__name__}.add_default_metrics", text='Add Default 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__}.remove_metrics", text='Remove Metrics')
box.row().operator(f"{__name__}.align_metrics", text='Align 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') 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): class FONT3D_PT_TextPropertiesPanel(bpy.types.Panel):
bl_label = "Text Properties" bl_label = "Text Properties"