cosmetics

This commit is contained in:
jrkb 2025-01-18 18:19:52 +01:00
parent cddbc79151
commit e69cdc951d

View file

@ -242,9 +242,6 @@ class ABC3D_text_properties(bpy.types.PropertyGroup):
distribution_type: bpy.props.StringProperty()
glyphs: bpy.props.CollectionProperty(type=ABC3D_glyph_properties)
# TODO: simply, merge, cut cut cut
class ABC3D_data(bpy.types.PropertyGroup):
available_fonts: bpy.props.CollectionProperty(
type=ABC3D_available_font, name="Available fonts")
@ -1563,8 +1560,8 @@ def on_depsgraph_update(scene, depsgraph):
butils.run_in_main_thread(later)
def register():
print(f"REGISTER {utils.prefix()}")
addon_updater_ops.register(bl_info)
for cls in classes:
@ -1572,7 +1569,6 @@ def register():
bpy.utils.register_class(cls)
bpy.types.Scene.abc3d_data = bpy.props.PointerProperty(type=ABC3D_data)
# bpy.types.Object.__del__ = lambda self: print(f"Bye {self.name}")
print(f"REGISTER {bl_info['name']}")
# autostart if we load a blend file
if load_handler not in bpy.app.handlers.load_post:
@ -1615,7 +1611,7 @@ def unregister():
bpy.app.handlers.depsgraph_update_post.remove(on_depsgraph_update)
del bpy.types.Scene.abc3d_data
print(f"UNREGISTER {bl_info['name']}")
print(f"UNREGISTER {utils.prefix()}")
if __name__ == '__main__':