From 7dd56b8019059f6948b3f93686e90533f94fbe46 Mon Sep 17 00:00:00 2001 From: themancalledjakob Date: Wed, 7 Aug 2024 11:55:19 +0200 Subject: [PATCH] cleanup comment out possibly unused operator --- __init__.py | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/__init__.py b/__init__.py index 5413090..eb6bdf7 100644 --- a/__init__.py +++ b/__init__.py @@ -91,22 +91,22 @@ class FONT3D_addonPreferences(bpy.types.AddonPreferences): layout.prop(self, "assets_dir") -class FONT3D_OT_Font3D(bpy.types.Operator): - """Font 3D""" - bl_idname = f"{__name__}.font3d" - bl_label = "Font 3D" - bl_options = {'REGISTER', 'UNDO'} +# class FONT3D_OT_Font3D(bpy.types.Operator): + # """Font 3D""" + # bl_idname = f"{__name__}.font3d" + # bl_label = "Font 3D" + # bl_options = {'REGISTER', 'UNDO'} - def execute(self, context): + # def execute(self, context): - print("Font3d execute()") + # print("Font3d execute()") - scene = bpy.context.scene + # scene = bpy.context.scene - file_dir = scene.font3d.file_dir - print(f"file_dir: {file_dir}") + # file_dir = scene.font3d.file_dir + # print(f"file_dir: {file_dir}") - return {'FINISHED'} + # return {'FINISHED'} class FONT3D_settings(bpy.types.PropertyGroup): @@ -787,7 +787,6 @@ class FONT3D_PT_RightPropertiesPanel(bpy.types.Panel): classes = ( FONT3D_addonPreferences, - FONT3D_OT_Font3D, FONT3D_available_font, FONT3D_glyph_properties, FONT3D_text_properties,