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). --- add_mesh_solid.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'add_mesh_solid.py') diff --git a/add_mesh_solid.py b/add_mesh_solid.py index 5bf08128..03737543 100644 --- a/add_mesh_solid.py +++ b/add_mesh_solid.py @@ -804,9 +804,13 @@ def menu_func(self, context): def register(): + bpy.utils.register_module(__name__) + space_info.INFO_MT_mesh_add.append(menu_func) def unregister(): + bpy.utils.unregister_module(__name__) + space_info.INFO_MT_mesh_add.remove(menu_func) if __name__ == "__main__": -- cgit v1.2.3