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_import_gimp_image_to_scene.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'io_import_gimp_image_to_scene.py') diff --git a/io_import_gimp_image_to_scene.py b/io_import_gimp_image_to_scene.py index de1f0686..bf1ed44b 100644 --- a/io_import_gimp_image_to_scene.py +++ b/io_import_gimp_image_to_scene.py @@ -659,10 +659,14 @@ def menu_func(self, context): def register(): + bpy.utils.register_module(__name__) + bpy.types.INFO_MT_file_import.append(menu_func) def unregister(): + bpy.utils.unregister_module(__name__) + bpy.types.INFO_MT_file_import.remove(menu_func) -- cgit v1.2.3