comment out possibly unused operator
This commit is contained in:
themancalledjakob 2024-08-07 11:55:19 +02:00
parent b0dc8c8e71
commit 7dd56b8019

View file

@ -91,22 +91,22 @@ class FONT3D_addonPreferences(bpy.types.AddonPreferences):
layout.prop(self, "assets_dir") layout.prop(self, "assets_dir")
class FONT3D_OT_Font3D(bpy.types.Operator): # class FONT3D_OT_Font3D(bpy.types.Operator):
"""Font 3D""" # """Font 3D"""
bl_idname = f"{__name__}.font3d" # bl_idname = f"{__name__}.font3d"
bl_label = "Font 3D" # bl_label = "Font 3D"
bl_options = {'REGISTER', 'UNDO'} # 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 # file_dir = scene.font3d.file_dir
print(f"file_dir: {file_dir}") # print(f"file_dir: {file_dir}")
return {'FINISHED'} # return {'FINISHED'}
class FONT3D_settings(bpy.types.PropertyGroup): class FONT3D_settings(bpy.types.PropertyGroup):
@ -787,7 +787,6 @@ class FONT3D_PT_RightPropertiesPanel(bpy.types.Panel):
classes = ( classes = (
FONT3D_addonPreferences, FONT3D_addonPreferences,
FONT3D_OT_Font3D,
FONT3D_available_font, FONT3D_available_font,
FONT3D_glyph_properties, FONT3D_glyph_properties,
FONT3D_text_properties, FONT3D_text_properties,