diff --git a/__init__.py b/__init__.py index 0943139..935fc2b 100644 --- a/__init__.py +++ b/__init__.py @@ -311,7 +311,6 @@ class ABC3D_UL_texts(bpy.types.UIList): def invoke(self, context, event): pass - class ABC3D_PT_Panel(bpy.types.Panel): bl_label = f"{__name__} panel" bl_category = "ABC3D" @@ -333,27 +332,6 @@ class ABC3D_PT_Panel(bpy.types.Panel): text="open asset directory", icon='FILEBROWSER') -# class ABC3D_PT_LoadFontPanel(bpy.types.Panel): - # bl_label = "Install a new font" - # bl_parent_id = "ABC3D_PT_Panel" - # bl_category = "ABC3D" - # bl_space_type = "VIEW_3D" - # bl_region_type = "UI" - - # def draw(self, context): - # layout = self.layout - # wm = context.window_manager - # scene = context.scene - - # abc3d_data = scene.abc3d_data - - # box = layout.box() - # box.row().label(text="1. Select fontfile") - # box.row().prop(context.scene.abc3d_data, "font_path") - # box.row().label(text="2. Install it:") - # box.row().operator(f"{__name__}.install_font", text='Install new font') - - class ABC3D_PT_FontList(bpy.types.Panel): bl_label = "Font List" bl_parent_id = "ABC3D_PT_Panel" @@ -1449,7 +1427,6 @@ classes = ( ABC3D_UL_fonts, ABC3D_UL_texts, ABC3D_PT_Panel, - # ABC3D_PT_LoadFontPanel, ABC3D_PT_FontList, ABC3D_PT_TextPlacement, ABC3D_PT_TextManagement,