From 61d5b389e2424ff22576cc07b99260f952f6f97b Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 11 Feb 2011 01:29:13 +0000 Subject: add in module register calls (first pass, batch replace, will test each addon next). --- io_mesh_stl/__init__.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'io_mesh_stl') diff --git a/io_mesh_stl/__init__.py b/io_mesh_stl/__init__.py index 8d5297fd..d46e6036 100644 --- a/io_mesh_stl/__init__.py +++ b/io_mesh_stl/__init__.py @@ -135,11 +135,15 @@ def menu_export(self, context): def register(): + bpy.utils.register_module(__name__) + bpy.types.INFO_MT_file_import.append(menu_import) bpy.types.INFO_MT_file_export.append(menu_export) def unregister(): + bpy.utils.unregister_module(__name__) + bpy.types.INFO_MT_file_import.remove(menu_import) bpy.types.INFO_MT_file_export.remove(menu_export) -- cgit v1.2.3